aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/smp.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-08-06 05:02:48 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-09-07 21:35:02 -0400
commit173a44dd1f406e9aa6fcf46c83b7c972d10ec930 (patch)
tree61784c58c8e566f3717914761aeff5d8cc7c75be /arch/sh/include/asm/smp.h
parent04ec080dcaad7d3c6d0b40b599c8e63da618f784 (diff)
sh: smp: Provide a generic IPI handler.
This provides a generic smp_message_recv() routine (based on the PPC one), that IPI IRQs can wrap in to. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/smp.h')
-rw-r--r--arch/sh/include/asm/smp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/smp.h b/arch/sh/include/asm/smp.h
index e2b79e6864e7..1292c6d3c53e 100644
--- a/arch/sh/include/asm/smp.h
+++ b/arch/sh/include/asm/smp.h
@@ -26,6 +26,7 @@ extern int __cpu_logical_map[NR_CPUS];
26#define SMP_MSG_FUNCTION_SINGLE 2 26#define SMP_MSG_FUNCTION_SINGLE 2
27#define SMP_MSG_NR 3 27#define SMP_MSG_NR 3
28 28
29void smp_message_recv(unsigned int msg);
29void plat_smp_setup(void); 30void plat_smp_setup(void);
30void plat_prepare_cpus(unsigned int max_cpus); 31void plat_prepare_cpus(unsigned int max_cpus);
31int plat_smp_processor_id(void); 32int plat_smp_processor_id(void);