summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-05-16 11:41:53 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-05-17 18:59:57 +0100
commit49613d4d9ae759193915823e67de546fca58c951 (patch)
treec2d4cc34f2373dac5b74d56533c5370d13a39f6b /arch/arm/mach-realview
parentbc28248ee25e5c239cbe6afca35a100b08401de5 (diff)
downloadop-kernel-dev-49613d4d9ae759193915823e67de546fca58c951.zip
op-kernel-dev-49613d4d9ae759193915823e67de546fca58c951.tar.gz
[ARM] smp: SCU is used on non-realview platforms
The SCU can be used by non-realview platforms, so make it visible for other people to use rather than having them copy the header file. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview')
-rw-r--r--arch/arm/mach-realview/include/mach/scu.h13
-rw-r--r--arch/arm/mach-realview/platsmp.c2
2 files changed, 1 insertions, 14 deletions
diff --git a/arch/arm/mach-realview/include/mach/scu.h b/arch/arm/mach-realview/include/mach/scu.h
deleted file mode 100644
index d55802d..0000000
--- a/arch/arm/mach-realview/include/mach/scu.h
+++ /dev/null
@@ -1,13 +0,0 @@
-#ifndef __ASMARM_ARCH_SCU_H
-#define __ASMARM_ARCH_SCU_H
-
-/*
- * SCU registers
- */
-#define SCU_CTRL 0x00
-#define SCU_CONFIG 0x04
-#define SCU_CPU_STATUS 0x08
-#define SCU_INVALIDATE 0x0c
-#define SCU_FPGA_REVISION 0x10
-
-#endif
diff --git a/arch/arm/mach-realview/platsmp.c b/arch/arm/mach-realview/platsmp.c
index b34d3a5..c567d3e 100644
--- a/arch/arm/mach-realview/platsmp.c
+++ b/arch/arm/mach-realview/platsmp.c
@@ -23,7 +23,7 @@
#include <mach/board-eb.h>
#include <mach/board-pb11mp.h>
-#include <mach/scu.h>
+#include <asm/smp_scu.h>
#include "core.h"
OpenPOWER on IntegriCloud