]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite374e0fe8227f21a7086b8c422a0008cbc1fc2b6
tree56bdc711208aca8b514e7366b56c66b9c05ac1be
parentb4ec1af18cfa22134426bc5d82778d6de23304dc
[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