include/linux/bitfield.h: include <linux/build_bug.h> instead of <linux/bug.h>
Since commit bc6245e5ef
("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/1505700775-19826-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Cc: Dinan Gunawardena <dinan.gunawardena@netronome.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
083bf9c56d
commit
8001541cc3
|
@ -15,7 +15,7 @@
|
||||||
#ifndef _LINUX_BITFIELD_H
|
#ifndef _LINUX_BITFIELD_H
|
||||||
#define _LINUX_BITFIELD_H
|
#define _LINUX_BITFIELD_H
|
||||||
|
|
||||||
#include <linux/bug.h>
|
#include <linux/build_bug.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Bitfield access macros
|
* Bitfield access macros
|
||||||
|
|
Loading…
Reference in New Issue