projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
783ac47
)
powerpc: io-workarounds.c was implicitly getting init_mm
author
Paul Gortmaker
<
[email protected]
>
Fri, 27 May 2011 17:39:01 +0000
(13:39 -0400)
committer
Paul Gortmaker
<
[email protected]
>
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 <
[email protected]
>
arch/powerpc/kernel/io-workarounds.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/io-workarounds.c
b/arch/powerpc/kernel/io-workarounds.c
index ffafaea3d261f8f2fbeb3ee45cd58bc958e40572..12d329bcbb9825cbad17618460e22d4c2b0d5cdf 100644
(file)
--- 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>