]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Thu, 25 Aug 2011 17:54:39 +0000 (13:54 -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 ffafaea3d261f8f2fbeb3ee45cd58bc958e40572..12d329bcbb9825cbad17618460e22d4c2b0d5cdf 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>