[ARM] 4814/1: RealView: Add broadcasting clockevents support for ARM11MPCore
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 4 Feb 2008 16:30:57 +0000 (17:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Feb 2008 17:52:19 +0000 (17:52 +0000)
commita8655e83fc44ec2b92cbea9f3ff3cc0da05a991c
tree56bdc711208aca8b514e7366b56c66b9c05ac1be
parent3e459990961db7f3f2dcf21e2b38a7216dfd10dd
[ARM] 4814/1: RealView: Add broadcasting clockevents support for ARM11MPCore

This patch adds dummy local timers for each CPU so that the board clock
device is used to broadcast events to the other CPUs. The patch also
adds the declaration for the dummy_timer_setup function (the equivalent
of local_timer_setup when CONFIG_LOCAL_TIMERS is not set).

Due to the way clockevents work, the dummy timer on the first CPU has to
be registered before the board timer.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/kernel/smp.c
arch/arm/mach-realview/Makefile
arch/arm/mach-realview/core.c
arch/arm/mach-realview/localtimer.c
arch/arm/mach-realview/platsmp.c
include/asm-arm/smp.h