diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-05-27 13:39:01 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:30:37 -0400 |
commit | 333a151822efab7dfb228a653072e5f03eaeb4b6 (patch) | |
tree | 40dd03949160b94ec30a686abef284a3cb415335 /arch/powerpc | |
parent | 783ac47c2aad07ff68f9432968d2f0829ef81543 (diff) | |
download | linux-stable-333a151822efab7dfb228a653072e5f03eaeb4b6.tar.gz linux-stable-333a151822efab7dfb228a653072e5f03eaeb4b6.tar.bz2 linux-stable-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')
-rw-r--r-- | arch/powerpc/kernel/io-workarounds.c | 1 |
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> |