aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-01-21 01:12:28 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-03-02 00:50:24 -0500
commit089fb442f3018a3ed094f8ac7a7cc2d3bd03b114 (patch)
treec7e1275f9af606bfbe797efe4c5782bb14c78510 /arch/powerpc/kernel
parent7e26065d8b11babc948262b92cd989fcc7062653 (diff)
powerpc: Use ARCH_IRQ_INIT_FLAGS
Define the ARCH_IRQ_INIT_FLAGS instead of fixing it up in a loop. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/irq.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c
index ce557f6f00f..0531ccda800 100644
--- a/arch/powerpc/kernel/irq.c
+++ b/arch/powerpc/kernel/irq.c
@@ -1074,21 +1074,6 @@ void irq_free_virt(unsigned int virq, unsigned int count)
1074 1074
1075int arch_early_irq_init(void) 1075int arch_early_irq_init(void)
1076{ 1076{
1077 struct irq_desc *desc;
1078 int i;
1079
1080 for (i = 0; i < NR_IRQS; i++) {
1081 desc = irq_to_desc(i);
1082 if (desc)
1083 desc->status |= IRQ_NOREQUEST;
1084 }
1085
1086 return 0;
1087}
1088
1089int arch_init_chip_data(struct irq_desc *desc, int node)
1090{
1091 desc->status |= IRQ_NOREQUEST;
1092 return 0; 1077 return 0;
1093} 1078}
1094 1079