diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-07-03 05:32:51 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-07-03 05:55:12 -0400 |
commit | b9e5b4e6a991a5a6d521f2e20a65835404b4169f (patch) | |
tree | a0ac972faae4bf9133f576d842667bb134190341 /arch/powerpc/platforms/cell/interrupt.h | |
parent | 5a43a066b11ac2fe84cf67307f20b83bea390f83 (diff) |
[POWERPC] Use the genirq framework
This adapts the generic powerpc interrupt handling code, and all of
the platforms except for the embedded 6xx machines, to use the new
genirq framework.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/interrupt.h')
-rw-r--r-- | arch/powerpc/platforms/cell/interrupt.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/cell/interrupt.h b/arch/powerpc/platforms/cell/interrupt.h index 799f77d98f96..c74515aeb630 100644 --- a/arch/powerpc/platforms/cell/interrupt.h +++ b/arch/powerpc/platforms/cell/interrupt.h | |||
@@ -38,6 +38,7 @@ | |||
38 | 38 | ||
39 | enum { | 39 | enum { |
40 | IIC_EXT_OFFSET = 0x00, /* Start of south bridge IRQs */ | 40 | IIC_EXT_OFFSET = 0x00, /* Start of south bridge IRQs */ |
41 | IIC_EXT_CASCADE = 0x20, /* There is no interrupt 32 on spider */ | ||
41 | IIC_NUM_EXT = 0x40, /* Number of south bridge IRQs */ | 42 | IIC_NUM_EXT = 0x40, /* Number of south bridge IRQs */ |
42 | IIC_SPE_OFFSET = 0x40, /* Start of SPE interrupts */ | 43 | IIC_SPE_OFFSET = 0x40, /* Start of SPE interrupts */ |
43 | IIC_CLASS_STRIDE = 0x10, /* SPE IRQs per class */ | 44 | IIC_CLASS_STRIDE = 0x10, /* SPE IRQs per class */ |
@@ -51,13 +52,10 @@ extern int iic_get_irq(struct pt_regs *regs); | |||
51 | extern void iic_cause_IPI(int cpu, int mesg); | 52 | extern void iic_cause_IPI(int cpu, int mesg); |
52 | extern void iic_request_IPIs(void); | 53 | extern void iic_request_IPIs(void); |
53 | extern void iic_setup_cpu(void); | 54 | extern void iic_setup_cpu(void); |
54 | extern void iic_local_enable(void); | ||
55 | extern void iic_local_disable(void); | ||
56 | 55 | ||
57 | extern u8 iic_get_target_id(int cpu); | 56 | extern u8 iic_get_target_id(int cpu); |
58 | 57 | ||
59 | extern void spider_init_IRQ(void); | 58 | extern void spider_init_IRQ(void); |
60 | extern int spider_get_irq(int node); | ||
61 | 59 | ||
62 | #endif | 60 | #endif |
63 | #endif /* ASM_CELL_PIC_H */ | 61 | #endif /* ASM_CELL_PIC_H */ |