diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2008-02-04 11:28:56 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-02-04 12:52:18 -0500 |
commit | 3e459990961db7f3f2dcf21e2b38a7216dfd10dd (patch) | |
tree | d85f86d36cf2433817ba8f4d29447ca4950e206d /include | |
parent | ae30ceac3c6bbacdb227816abe6f0c7ea867ac7c (diff) |
[ARM] 4813/1: Add SMP helper functions for clockevents support
This patch adds the smp_call_function_single and smp_timer_broadcast
functions and modifies ipi_timer to call the platform-specific function
local_timer_interrupt.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/smp.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-arm/smp.h b/include/asm-arm/smp.h index f67acce387e7..1f7c51a1886d 100644 --- a/include/asm-arm/smp.h +++ b/include/asm-arm/smp.h | |||
@@ -61,6 +61,11 @@ extern void smp_cross_call(cpumask_t callmap); | |||
61 | extern void smp_send_timer(void); | 61 | extern void smp_send_timer(void); |
62 | 62 | ||
63 | /* | 63 | /* |
64 | * Broadcast a clock event to other CPUs. | ||
65 | */ | ||
66 | extern void smp_timer_broadcast(cpumask_t mask); | ||
67 | |||
68 | /* | ||
64 | * Boot a secondary CPU, and assign it the specified idle task. | 69 | * Boot a secondary CPU, and assign it the specified idle task. |
65 | * This also gives us the initial stack to use for this CPU. | 70 | * This also gives us the initial stack to use for this CPU. |
66 | */ | 71 | */ |
@@ -96,6 +101,11 @@ extern void platform_cpu_die(unsigned int cpu); | |||
96 | extern int platform_cpu_kill(unsigned int cpu); | 101 | extern int platform_cpu_kill(unsigned int cpu); |
97 | extern void platform_cpu_enable(unsigned int cpu); | 102 | extern void platform_cpu_enable(unsigned int cpu); |
98 | 103 | ||
104 | /* | ||
105 | * Local timer interrupt handling function (can be IPI'ed). | ||
106 | */ | ||
107 | extern void local_timer_interrupt(void); | ||
108 | |||
99 | #ifdef CONFIG_LOCAL_TIMERS | 109 | #ifdef CONFIG_LOCAL_TIMERS |
100 | /* | 110 | /* |
101 | * Setup a local timer interrupt for a CPU. | 111 | * Setup a local timer interrupt for a CPU. |