include/linux/bitfield.h: include <linux/build_bug.h> instead of <linux/bug.h>
authorMasahiro Yamada <[email protected]>
Fri, 17 Nov 2017 23:27:49 +0000 (15:27 -0800)
committerLinus Torvalds <[email protected]>
Sat, 18 Nov 2017 00:10:01 +0000 (16:10 -0800)
Since commit bc6245e5efd7 ("bug: split BUILD_BUG stuff out into
<linux/build_bug.h>"), #include <linux/build_bug.h> is better to pull
minimal headers needed for BUILG_BUG() family.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Cc: Dinan Gunawardena <[email protected]>
Cc: Kalle Valo <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/bitfield.h

index f2deb71958b2dbee591c4c9bf95ee6f1e70f41c4..1030651f83098f9efda4859e01dd95be506e3071 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef _LINUX_BITFIELD_H
 #define _LINUX_BITFIELD_H
 
-#include <linux/bug.h>
+#include <linux/build_bug.h>
 
 /*
  * Bitfield access macros