X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fmpic.h;h=6b9e78142f4fd6ba55ea277eed989443641d38da;hb=88ced0314938814e1772b4d0d7ab20c52e4472b6;hp=7083d1f74260b6b156d6b6ef67ac1a9c03535677;hpb=7079060f3e86ea4c1d4e9c1e356592ef9dcaaa1f;p=deliverable%2Flinux.git diff --git a/include/asm-powerpc/mpic.h b/include/asm-powerpc/mpic.h index 7083d1f74260..6b9e78142f4f 100644 --- a/include/asm-powerpc/mpic.h +++ b/include/asm-powerpc/mpic.h @@ -1,5 +1,6 @@ #ifndef _ASM_POWERPC_MPIC_H #define _ASM_POWERPC_MPIC_H +#ifdef __KERNEL__ #include @@ -117,7 +118,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 */ @@ -284,4 +287,5 @@ extern int mpic_get_irq(struct pt_regs *regs); /* global mpic for pSeries */ extern struct mpic *pSeries_mpic; +#endif /* __KERNEL__ */ #endif /* _ASM_POWERPC_MPIC_H */