summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/ipic.h
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2007-12-04 19:01:40 +0800
committerKumar Gala <galak@kernel.crashing.org>2007-12-12 01:53:07 -0600
commit77d4309e19b1a7ab3286cd741e924894fc329986 (patch)
treebc6626e5acb07c77df9c06e238873f12f24bb6e9 /arch/powerpc/sysdev/ipic.h
parentea082fa94eab6c2d8ad81c8a46b680cf4c2a3bb3 (diff)
downloadblackbird-obmc-linux-77d4309e19b1a7ab3286cd741e924894fc329986.tar.gz
blackbird-obmc-linux-77d4309e19b1a7ab3286cd741e924894fc329986.zip
[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.h6
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 {
/* The remapper for this IPIC */
struct irq_host *irqhost;
-
- /* The "linux" controller struct */
- struct irq_chip hc_irq;
};
struct ipic_info {
- u8 pend; /* pending register offset from base */
+ u8 ack; /* pending register offset from base if the irq
+ supports ack operation */
u8 mask; /* mask register offset from base */
u8 prio; /* priority register offset from base */
u8 force; /* force register offset from base */
OpenPOWER on IntegriCloud