diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-12-01 15:54:58 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-12-01 15:54:58 +0100 |
commit | 1bbdf637baa708a2f0f46ead56c6c618b7dad7a8 (patch) | |
tree | f80c52af7e6fcc9ee86c82a184bdd34a7c335679 /arch/arm/mach-realview/include/mach | |
parent | RealView: Use only the shadow mapping of ARM11MPCore local timers (diff) | |
download | linux-1bbdf637baa708a2f0f46ead56c6c618b7dad7a8.tar.xz linux-1bbdf637baa708a2f0f46ead56c6c618b7dad7a8.zip |
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/mach')
-rw-r--r-- | arch/arm/mach-realview/include/mach/board-eb.h | 3 |
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 cdbf551fd3de..268d7701fa9b 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 */ |