Skip to content

Commit

Permalink
powerpc: io-workarounds.c was implicitly getting init_mm
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent 783ac47 commit 333a151
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/kernel/io-workarounds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 333a151

Please sign in to comment.