]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-alpha/smp.h
alpha: convert to generic helpers for IPI function calls
[linux-2.6-omap-h63xx.git] / include / asm-alpha / smp.h
index e1432102be05a55a150c0726d8ea55dec123d356..2f60a362d75ed12d670d9fde5d053ea4b62a4977 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __ASM_SMP_H
 #define __ASM_SMP_H
 
-#include <linux/config.h>
 #include <linux/threads.h>
 #include <linux/cpumask.h>
 #include <linux/bitops.h>
@@ -48,10 +47,12 @@ extern struct cpuinfo_alpha cpu_data[NR_CPUS];
 extern int smp_num_cpus;
 #define cpu_possible_map       cpu_present_map
 
-int smp_call_function_on_cpu(void (*func) (void *info), void *info,int retry, int wait, cpumask_t cpu);
+extern void arch_send_call_function_single_ipi(int cpu);
+extern void arch_send_call_function_ipi(cpumask_t mask);
 
 #else /* CONFIG_SMP */
 
+#define hard_smp_processor_id()                0
 #define smp_call_function_on_cpu(func,info,retry,wait,cpu)    ({ 0; })
 
 #endif /* CONFIG_SMP */