summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/io-workarounds.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-27 19:39:01 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:30:37 +0100
commit333a151822efab7dfb228a653072e5f03eaeb4b6 (patch)
tree40dd03949160b94ec30a686abef284a3cb415335 /arch/powerpc/kernel/io-workarounds.c
parentx86: efi_32.c is implicitly getting asm/desc.h via module.h (diff)
downloadlinux-333a151822efab7dfb228a653072e5f03eaeb4b6.tar.xz
linux-333a151822efab7dfb228a653072e5f03eaeb4b6.zip
powerpc: io-workarounds.c was implicitly getting init_mm
It was coming in via device.h --> module.h etc. but we want to clean that up. So explicitly include the header where init_mm is being declared. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/powerpc/kernel/io-workarounds.c')
-rw-r--r--arch/powerpc/kernel/io-workarounds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/io-workarounds.c b/arch/powerpc/kernel/io-workarounds.c
index ffafaea3d261..12d329bcbb98 100644
--- a/arch/powerpc/kernel/io-workarounds.c
+++ b/arch/powerpc/kernel/io-workarounds.c
@@ -12,6 +12,7 @@
#undef DEBUG
#include <linux/kernel.h>
+#include <linux/sched.h> /* for init_mm */
#include <asm/io.h>
#include <asm/machdep.h>