diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-01-20 18:35:53 -0500 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-02-29 17:15:08 -0500 |
commit | 50af5ead3b44ccf8bd2b4d2a50c1b610f557c480 (patch) | |
tree | e53d8e0b0bd2cf2134e48d3441b91ac41c6c3721 /arch/powerpc | |
parent | b116ee4d772565d204db057a10fcd81d7a2513a8 (diff) | |
download | op-kernel-dev-50af5ead3b44ccf8bd2b4d2a50c1b610f557c480.zip op-kernel-dev-50af5ead3b44ccf8bd2b4d2a50c1b610f557c480.tar.gz |
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')
-rw-r--r-- | arch/powerpc/kernel/pmc.c | 1 | ||||
-rw-r--r-- | arch/powerpc/xmon/ppc-opc.c | 1 | ||||
-rw-r--r-- | arch/powerpc/xmon/spu-opc.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/pmc.c b/arch/powerpc/kernel/pmc.c index a841a9d..58eaa3d 100644 --- a/arch/powerpc/kernel/pmc.c +++ b/arch/powerpc/kernel/pmc.c @@ -13,6 +13,7 @@ */ #include <linux/errno.h> +#include <linux/bug.h> #include <linux/spinlock.h> #include <linux/export.h> diff --git a/arch/powerpc/xmon/ppc-opc.c b/arch/powerpc/xmon/ppc-opc.c index af3780e..6845e91 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 530df3d..7d37597c 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 */ |