aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-05-27 13:39:01 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:37 -0400
commit333a151822efab7dfb228a653072e5f03eaeb4b6 (patch)
tree40dd03949160b94ec30a686abef284a3cb415335 /arch
parentx86: efi_32.c is implicitly getting asm/desc.h via module.h (diff)
downloadlinux-dev-333a151822efab7dfb228a653072e5f03eaeb4b6.tar.xz
linux-dev-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')
-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>