Преглед на файлове

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>
Paul Gortmaker преди 14 години
родител
ревизия
333a151822
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      arch/powerpc/kernel/io-workarounds.c

+ 1 - 0
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>