aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-20 03:09:51 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-20 03:09:51 -0400
commita9c59264690aea9d0df2d2d76683bc39ec6b7288 (patch)
tree5cf1bc1181caacf93abe91585ab6e989542527e1 /include
parentd8699e65c6bc0a81b5e679ca5b135bfe3c3fb483 (diff)
powerpc: Move smp_mpic_message_pass into mpic.c
Having it here rather than in arch/ppc64/kernel/smp.c means that we can use it on 32-bit SMP systems easily with ARCH=powerpc. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/mpic.h3
-rw-r--r--include/asm-ppc64/smp.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-powerpc/mpic.h b/include/asm-powerpc/mpic.h
index 6b558aeb9cb9..7083d1f74260 100644
--- a/include/asm-powerpc/mpic.h
+++ b/include/asm-powerpc/mpic.h
@@ -273,6 +273,9 @@ extern void mpic_request_ipis(void);
273/* Send an IPI (non offseted number 0..3) */ 273/* Send an IPI (non offseted number 0..3) */
274extern void mpic_send_ipi(unsigned int ipi_no, unsigned int cpu_mask); 274extern void mpic_send_ipi(unsigned int ipi_no, unsigned int cpu_mask);
275 275
276/* Send a message (IPI) to a given target (cpu number or MSG_*) */
277void smp_mpic_message_pass(int target, int msg);
278
276/* Fetch interrupt from a given mpic */ 279/* Fetch interrupt from a given mpic */
277extern int mpic_get_one_irq(struct mpic *mpic, struct pt_regs *regs); 280extern int mpic_get_one_irq(struct mpic *mpic, struct pt_regs *regs);
278/* This one gets to the primary mpic */ 281/* This one gets to the primary mpic */
diff --git a/include/asm-ppc64/smp.h b/include/asm-ppc64/smp.h
index d86f742e9a21..c5e9052e7967 100644
--- a/include/asm-ppc64/smp.h
+++ b/include/asm-ppc64/smp.h
@@ -77,7 +77,6 @@ extern int smt_enabled_at_boot;
77 77
78extern int smp_mpic_probe(void); 78extern int smp_mpic_probe(void);
79extern void smp_mpic_setup_cpu(int cpu); 79extern void smp_mpic_setup_cpu(int cpu);
80extern void smp_mpic_message_pass(int target, int msg);
81extern void smp_generic_kick_cpu(int nr); 80extern void smp_generic_kick_cpu(int nr);
82 81
83extern void smp_generic_give_timebase(void); 82extern void smp_generic_give_timebase(void);