diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-01-21 00:35:53 +0100 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-02-29 23:15:08 +0100 |
commit | 50af5ead3b44ccf8bd2b4d2a50c1b610f557c480 (patch) | |
tree | e53d8e0b0bd2cf2134e48d3441b91ac41c6c3721 /arch/powerpc/xmon | |
parent | lib: fix implicit users of kernel.h for TAINT_WARN (diff) | |
download | linux-50af5ead3b44ccf8bd2b4d2a50c1b610f557c480.tar.xz linux-50af5ead3b44ccf8bd2b4d2a50c1b610f557c480.zip |
bug.h: add include of it to various implicit C users
With bug.h currently living right in linux/kernel.h there
are files that use BUG_ON and friends but are not including
the header explicitly. Fix them up so we can remove the
presence in kernel.h file.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/powerpc/xmon')
-rw-r--r-- | arch/powerpc/xmon/ppc-opc.c | 1 | ||||
-rw-r--r-- | arch/powerpc/xmon/spu-opc.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/xmon/ppc-opc.c b/arch/powerpc/xmon/ppc-opc.c index af3780e52e76..6845e91ba04a 100644 --- a/arch/powerpc/xmon/ppc-opc.c +++ b/arch/powerpc/xmon/ppc-opc.c @@ -22,6 +22,7 @@ #include <linux/stddef.h> #include <linux/kernel.h> +#include <linux/bug.h> #include "nonstdio.h" #include "ppc.h" diff --git a/arch/powerpc/xmon/spu-opc.c b/arch/powerpc/xmon/spu-opc.c index 530df3d6d7b2..7d37597c4bcd 100644 --- a/arch/powerpc/xmon/spu-opc.c +++ b/arch/powerpc/xmon/spu-opc.c @@ -19,6 +19,7 @@ 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/kernel.h> +#include <linux/bug.h> #include "spu.h" /* This file holds the Spu opcode table */ |