aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-realview/include
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2008-12-01 14:54:58 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2008-12-01 14:54:58 +0000
commit1bbdf637baa708a2f0f46ead56c6c618b7dad7a8 (patch)
treef80c52af7e6fcc9ee86c82a184bdd34a7c335679 /arch/arm/mach-realview/include
parentebac6546df7e8bd17f66f029c616ea9ee3c595ae (diff)
RealView: Clean up the machine_is_*() calls in platsmp.c
Some of the calls weren't necessary and some others were duplicated. This patch tidies up the platsmp.c file. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/mach-realview/include')
-rw-r--r--arch/arm/mach-realview/include/mach/board-eb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/include/mach/board-eb.h b/arch/arm/mach-realview/include/mach/board-eb.h
index cdbf551fd3d..268d7701fa9 100644
--- a/arch/arm/mach-realview/include/mach/board-eb.h
+++ b/arch/arm/mach-realview/include/mach/board-eb.h
@@ -193,4 +193,7 @@
#define core_tile_a9mp() 0
#endif
+#define machine_is_realview_eb_mp() \
+ (machine_is_realview_eb() && (core_tile_eb11mp() || core_tile_a9mp()))
+
#endif /* __ASM_ARCH_BOARD_EB_H */