Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8001541c authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Linus Torvalds
Browse files

include/linux/bitfield.h: include <linux/build_bug.h> instead of <linux/bug.h>

Since commit bc6245e5 ("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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: default avatarJakub 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 083bf9c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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