summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-01-20 18:35:53 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-29 17:15:08 -0500
commit50af5ead3b44ccf8bd2b4d2a50c1b610f557c480 (patch)
treee53d8e0b0bd2cf2134e48d3441b91ac41c6c3721 /arch/x86
parentb116ee4d772565d204db057a10fcd81d7a2513a8 (diff)
downloadblackbird-op-linux-50af5ead3b44ccf8bd2b4d2a50c1b610f557c480.tar.gz
blackbird-op-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/x86')
-rw-r--r--arch/x86/kernel/paravirt.c1
-rw-r--r--arch/x86/mm/kmemcheck/selftest.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c
index d90272e6bc40..83e7b81d2135 100644
--- a/arch/x86/kernel/paravirt.c
+++ b/arch/x86/kernel/paravirt.c
@@ -26,6 +26,7 @@
#include <asm/bug.h>
#include <asm/paravirt.h>
+#include <asm/debugreg.h>
#include <asm/desc.h>
#include <asm/setup.h>
#include <asm/pgtable.h>
diff --git a/arch/x86/mm/kmemcheck/selftest.c b/arch/x86/mm/kmemcheck/selftest.c
index 036efbea8b28..aef7140c0063 100644
--- a/arch/x86/mm/kmemcheck/selftest.c
+++ b/arch/x86/mm/kmemcheck/selftest.c
@@ -1,3 +1,4 @@
+#include <linux/bug.h>
#include <linux/kernel.h>
#include "opcode.h"
OpenPOWER on IntegriCloud