summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/arch_timer.c
diff options
context:
space:
mode:
authorMarc Zyngier2012-02-14 12:25:58 +0100
committerMarc Zyngier2012-04-27 14:35:32 +0200
commitbfa05f4f3398b61205567f3a5cad90804a5a1fdc (patch)
treeaa1f0e73fea7f29db1e24d1a12ee2fa9124bf922 /arch/arm/kernel/arch_timer.c
parentLinux 3.4-rc4 (diff)
downloadkernel-qcow2-linux-bfa05f4f3398b61205567f3a5cad90804a5a1fdc.tar.gz
kernel-qcow2-linux-bfa05f4f3398b61205567f3a5cad90804a5a1fdc.tar.xz
kernel-qcow2-linux-bfa05f4f3398b61205567f3a5cad90804a5a1fdc.zip
ARM: local timers: reserve local_timer_register() to SMP
When running an SMP_ON_UP enabled kernel on UP, or with nosmp passed to the kernel, we want to be able to detect that a local timer is not going to be used (local timers are only used on SMP platforms), so we could register it as a global timer instead. Return -ENXIO when the above case is detected. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kernel/arch_timer.c')
0 files changed, 0 insertions, 0 deletions