diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-12-01 09:54:57 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2008-12-01 09:54:57 -0500 |
commit | ebac6546df7e8bd17f66f029c616ea9ee3c595ae (patch) | |
tree | 98801f44053407dc2990b16fbcfdbc5cb770416c /arch/arm/mach-realview/realview_pb11mp.c | |
parent | 4c3ea3717103ffcccfaebedb98c2dadfb54e0482 (diff) |
RealView: Use only the shadow mapping of ARM11MPCore local timers
All the cases where the local timer for a CPU is accessed happen on the
corresponding current CPU, hence no need to access the per-CPU local
timer mappings.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/mach-realview/realview_pb11mp.c')
-rw-r--r-- | arch/arm/mach-realview/realview_pb11mp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c index 8a27cd0a4741..ba0fb33811aa 100644 --- a/arch/arm/mach-realview/realview_pb11mp.c +++ b/arch/arm/mach-realview/realview_pb11mp.c | |||
@@ -292,8 +292,7 @@ static void __init realview_pb11mp_timer_init(void) | |||
292 | timer3_va_base = __io_address(REALVIEW_PB11MP_TIMER2_3_BASE) + 0x20; | 292 | timer3_va_base = __io_address(REALVIEW_PB11MP_TIMER2_3_BASE) + 0x20; |
293 | 293 | ||
294 | #ifdef CONFIG_LOCAL_TIMERS | 294 | #ifdef CONFIG_LOCAL_TIMERS |
295 | twd_base_addr = __io_address(REALVIEW_TC11MP_TWD_BASE); | 295 | twd_base = __io_address(REALVIEW_TC11MP_TWD_BASE); |
296 | twd_size = REALVIEW_TC11MP_TWD_SIZE; | ||
297 | #endif | 296 | #endif |
298 | realview_timer_init(IRQ_TC11MP_TIMER0_1); | 297 | realview_timer_init(IRQ_TC11MP_TIMER0_1); |
299 | } | 298 | } |