diff options
author | Li Yang <leoli@freescale.com> | 2007-12-04 06:01:40 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-12-12 02:53:07 -0500 |
commit | 77d4309e19b1a7ab3286cd741e924894fc329986 (patch) | |
tree | bc6626e5acb07c77df9c06e238873f12f24bb6e9 /arch/powerpc/sysdev/ipic.h | |
parent | ea082fa94eab6c2d8ad81c8a46b680cf4c2a3bb3 (diff) |
[POWERPC] ipic: ack only for edge interrupts
Only external interrupts in edge detect mode support ack operation.
Therefore, in most cases ack is not needed. The patch makes ipic
ack only when it's needed. This could boost over all system performance.
Signed-off-by: Li Yang <leoli@freescale.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev/ipic.h')
-rw-r--r-- | arch/powerpc/sysdev/ipic.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/sysdev/ipic.h b/arch/powerpc/sysdev/ipic.h index 1158b8f5cb20..9391c57b0c51 100644 --- a/arch/powerpc/sysdev/ipic.h +++ b/arch/powerpc/sysdev/ipic.h | |||
@@ -44,13 +44,11 @@ struct ipic { | |||
44 | 44 | ||
45 | /* The remapper for this IPIC */ | 45 | /* The remapper for this IPIC */ |
46 | struct irq_host *irqhost; | 46 | struct irq_host *irqhost; |
47 | |||
48 | /* The "linux" controller struct */ | ||
49 | struct irq_chip hc_irq; | ||
50 | }; | 47 | }; |
51 | 48 | ||
52 | struct ipic_info { | 49 | struct ipic_info { |
53 | u8 pend; /* pending register offset from base */ | 50 | u8 ack; /* pending register offset from base if the irq |
51 | supports ack operation */ | ||
54 | u8 mask; /* mask register offset from base */ | 52 | u8 mask; /* mask register offset from base */ |
55 | u8 prio; /* priority register offset from base */ | 53 | u8 prio; /* priority register offset from base */ |
56 | u8 force; /* force register offset from base */ | 54 | u8 force; /* force register offset from base */ |