[PATCH 03/11] avr32: fix nop compile fails from system.h split up

From: Paul Gortmaker
Date: Sun Apr 01 2012 - 16:39:10 EST


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"

Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
---
arch/avr32/include/asm/mmu_context.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/avr32/include/asm/mmu_context.h b/arch/avr32/include/asm/mmu_context.h
index 27ff234..f1b2fec 100644
--- a/arch/avr32/include/asm/mmu_context.h
+++ b/arch/avr32/include/asm/mmu_context.h
@@ -14,6 +14,7 @@

#include <asm/tlbflush.h>
#include <asm/sysreg.h>
+#include <asm/special_insns.h>
#include <asm-generic/mm_hooks.h>

/*
--
1.7.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/