]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
avr32: fix nop compile fails from system.h split up
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 1 Apr 2012 14:38:24 +0000 (10:38 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 2 Apr 2012 22:42:28 +0000 (18:42 -0400)
To fix:

  In file included from kernel/exit.c:61:
  arch/avr32/include/asm/mmu_context.h: In function 'enable_mmu':
  arch/avr32/include/asm/mmu_context.h:135: error: implicit
  declaration of function 'nop'

It needs an include of the new file created in:

commit ae473946586680b01c13975a3b674de23ad7c93e

    "Disintegrate asm/system.h for AVR32"

Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/avr32/include/asm/mmu_context.h

index 27ff234071009b19e9f5f5dbeeadc52cefbcf0e1..f1b2fec42902679d9cfd025e5d91ac191aab31eb 100644 (file)
@@ -14,6 +14,7 @@
 
 #include <asm/tlbflush.h>
 #include <asm/sysreg.h>
+#include <asm/special_insns.h>
 #include <asm-generic/mm_hooks.h>
 
 /*