powerpc: io-workarounds.c was implicitly getting init_mm
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 27 May 2011 17:39:01 +0000 (13:39 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:30:37 +0000 (19:30 -0400)
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>
arch/powerpc/kernel/io-workarounds.c

index ffafaea..12d329b 100644 (file)
@@ -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>