[PATCH 02/15] ARM: add explicit include of system.h to processor.h

Rob Herring robherring2 at gmail.com
Mon Feb 13 16:43:15 EST 2012


From: Rob Herring <rob.herring at calxeda.com>

cpu_relax in processor.h needs smp_mb which is defined in system.h.

Signed-off-by: Rob Herring <rob.herring at calxeda.com>
---
 arch/arm/include/asm/processor.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/processor.h b/arch/arm/include/asm/processor.h
index ce280b8..cb8d638 100644
--- a/arch/arm/include/asm/processor.h
+++ b/arch/arm/include/asm/processor.h
@@ -22,6 +22,7 @@
 #include <asm/hw_breakpoint.h>
 #include <asm/ptrace.h>
 #include <asm/types.h>
+#include <asm/system.h>
 
 #ifdef __KERNEL__
 #define STACK_TOP	((current->personality & ADDR_LIMIT_32BIT) ? \
-- 
1.7.5.4




More information about the linux-arm-kernel mailing list