diff options
Diffstat (limited to 'include/asm-powerpc/mpic.h')
-rw-r--r-- | include/asm-powerpc/mpic.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ | |||
1 | #ifndef _ASM_POWERPC_MPIC_H | 1 | #ifndef _ASM_POWERPC_MPIC_H |
2 | #define _ASM_POWERPC_MPIC_H | 2 | #define _ASM_POWERPC_MPIC_H |
3 | #ifdef __KERNEL__ | ||
3 | 4 | ||
4 | #include <linux/irq.h> | 5 | #include <linux/irq.h> |
5 | 6 | ||
@@ -117,7 +118,9 @@ typedef int (*mpic_cascade_t)(struct pt_regs *regs, void *data); | |||
117 | struct mpic_irq_fixup | 118 | struct mpic_irq_fixup |
118 | { | 119 | { |
119 | u8 __iomem *base; | 120 | u8 __iomem *base; |
120 | unsigned int irq; | 121 | u8 __iomem *applebase; |
122 | u32 data; | ||
123 | unsigned int index; | ||
121 | }; | 124 | }; |
122 | #endif /* CONFIG_MPIC_BROKEN_U3 */ | 125 | #endif /* CONFIG_MPIC_BROKEN_U3 */ |
123 | 126 | ||
@@ -284,4 +287,5 @@ extern int mpic_get_irq(struct pt_regs *regs); | |||
284 | /* global mpic for pSeries */ | 287 | /* global mpic for pSeries */ |
285 | extern struct mpic *pSeries_mpic; | 288 | extern struct mpic *pSeries_mpic; |
286 | 289 | ||
290 | #endif /* __KERNEL__ */ | ||
287 | #endif /* _ASM_POWERPC_MPIC_H */ | 291 | #endif /* _ASM_POWERPC_MPIC_H */ |