]> err.no Git - linux-2.6/blobdiff - include/asm-powerpc/mpic.h
[PATCH] powerpc: Experimental support for new G5 Macs (#2)
[linux-2.6] / include / asm-powerpc / mpic.h
index 6b558aeb9cb9ead7db90e487107a4b6442031791..bf7e717932054f49cb567fedea5a399445bb8352 100644 (file)
@@ -117,7 +117,9 @@ typedef int (*mpic_cascade_t)(struct pt_regs *regs, void *data);
 struct mpic_irq_fixup
 {
        u8 __iomem      *base;
-       unsigned int   irq;
+       u8 __iomem      *applebase;
+       u32             data;
+       unsigned int    index;
 };
 #endif /* CONFIG_MPIC_BROKEN_U3 */
 
@@ -273,6 +275,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 */