diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-20 09:09:51 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-20 09:09:51 +0200 |
commit | a9c59264690aea9d0df2d2d76683bc39ec6b7288 (patch) | |
tree | 5cf1bc1181caacf93abe91585ab6e989542527e1 /include/asm-powerpc/mpic.h | |
parent | ppc64: Change ppc_md.get_cpuinfo to ppc_md.show_cpuinfo (diff) | |
download | linux-a9c59264690aea9d0df2d2d76683bc39ec6b7288.tar.xz linux-a9c59264690aea9d0df2d2d76683bc39ec6b7288.zip |
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/asm-powerpc/mpic.h')
-rw-r--r-- | include/asm-powerpc/mpic.h | 3 |
1 files changed, 3 insertions, 0 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); /* Send an IPI (non offseted number 0..3) */ extern void mpic_send_ipi(unsigned int ipi_no, unsigned int cpu_mask); +/* Send a message (IPI) to a given target (cpu number or MSG_*) */ +void smp_mpic_message_pass(int target, int msg); + /* Fetch interrupt from a given mpic */ extern int mpic_get_one_irq(struct mpic *mpic, struct pt_regs *regs); /* This one gets to the primary mpic */ |