diff options
Diffstat (limited to 'arch/arm/include/asm/smp.h')
-rw-r--r-- | arch/arm/include/asm/smp.h | 52 |
1 files changed, 4 insertions, 48 deletions
diff --git a/arch/arm/include/asm/smp.h b/arch/arm/include/asm/smp.h index fad70da5911d..a06e735b262a 100644 --- a/arch/arm/include/asm/smp.h +++ b/arch/arm/include/asm/smp.h | |||
@@ -41,7 +41,7 @@ extern void show_ipi_list(struct seq_file *p); | |||
41 | asmlinkage void do_IPI(struct pt_regs *regs); | 41 | asmlinkage void do_IPI(struct pt_regs *regs); |
42 | 42 | ||
43 | /* | 43 | /* |
44 | * Setup the SMP cpu_possible_map | 44 | * Setup the set of possible CPUs (via set_cpu_possible) |
45 | */ | 45 | */ |
46 | extern void smp_init_cpus(void); | 46 | extern void smp_init_cpus(void); |
47 | 47 | ||
@@ -53,17 +53,7 @@ extern void smp_store_cpu_info(unsigned int cpuid); | |||
53 | /* | 53 | /* |
54 | * Raise an IPI cross call on CPUs in callmap. | 54 | * Raise an IPI cross call on CPUs in callmap. |
55 | */ | 55 | */ |
56 | extern void smp_cross_call(cpumask_t callmap); | 56 | extern void smp_cross_call(const struct cpumask *mask); |
57 | |||
58 | /* | ||
59 | * Broadcast a timer interrupt to the other CPUs. | ||
60 | */ | ||
61 | extern void smp_send_timer(void); | ||
62 | |||
63 | /* | ||
64 | * Broadcast a clock event to other CPUs. | ||
65 | */ | ||
66 | extern void smp_timer_broadcast(cpumask_t mask); | ||
67 | 57 | ||
68 | /* | 58 | /* |
69 | * Boot a secondary CPU, and assign it the specified idle task. | 59 | * Boot a secondary CPU, and assign it the specified idle task. |
@@ -102,46 +92,12 @@ extern int platform_cpu_kill(unsigned int cpu); | |||
102 | extern void platform_cpu_enable(unsigned int cpu); | 92 | extern void platform_cpu_enable(unsigned int cpu); |
103 | 93 | ||
104 | extern void arch_send_call_function_single_ipi(int cpu); | 94 | extern void arch_send_call_function_single_ipi(int cpu); |
105 | extern void arch_send_call_function_ipi(cpumask_t mask); | 95 | extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); |
106 | 96 | #define arch_send_call_function_ipi_mask arch_send_call_function_ipi_mask | |
107 | /* | ||
108 | * Local timer interrupt handling function (can be IPI'ed). | ||
109 | */ | ||
110 | extern void local_timer_interrupt(void); | ||
111 | |||
112 | #ifdef CONFIG_LOCAL_TIMERS | ||
113 | |||
114 | /* | ||
115 | * Stop a local timer interrupt. | ||
116 | */ | ||
117 | extern void local_timer_stop(void); | ||
118 | |||
119 | /* | ||
120 | * Platform provides this to acknowledge a local timer IRQ | ||
121 | */ | ||
122 | extern int local_timer_ack(void); | ||
123 | |||
124 | #else | ||
125 | |||
126 | static inline void local_timer_stop(void) | ||
127 | { | ||
128 | } | ||
129 | |||
130 | #endif | ||
131 | |||
132 | /* | ||
133 | * Setup a local timer interrupt for a CPU. | ||
134 | */ | ||
135 | extern void local_timer_setup(void); | ||
136 | 97 | ||
137 | /* | 98 | /* |
138 | * show local interrupt info | 99 | * show local interrupt info |
139 | */ | 100 | */ |
140 | extern void show_local_irqs(struct seq_file *); | 101 | extern void show_local_irqs(struct seq_file *); |
141 | 102 | ||
142 | /* | ||
143 | * Called from assembly, this is the local timer IRQ handler | ||
144 | */ | ||
145 | asmlinkage void do_local_timer(struct pt_regs *); | ||
146 | |||
147 | #endif /* ifndef __ASM_ARM_SMP_H */ | 103 | #endif /* ifndef __ASM_ARM_SMP_H */ |