Commit 089fb442 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Benjamin Herrenschmidt

powerpc: Use ARCH_IRQ_INIT_FLAGS

Define the ARCH_IRQ_INIT_FLAGS instead of fixing it up in a loop.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 7e26065d
...@@ -141,6 +141,8 @@ static inline bool arch_irqs_disabled(void) ...@@ -141,6 +141,8 @@ static inline bool arch_irqs_disabled(void)
#endif /* CONFIG_PPC64 */ #endif /* CONFIG_PPC64 */
#define ARCH_IRQ_INIT_FLAGS IRQ_NOREQUEST
/* /*
* interrupt-retrigger: should we handle this via lost interrupts and IPIs * interrupt-retrigger: should we handle this via lost interrupts and IPIs
* or should we not care like we do now ? --BenH. * or should we not care like we do now ? --BenH.
......
...@@ -1074,21 +1074,6 @@ void irq_free_virt(unsigned int virq, unsigned int count) ...@@ -1074,21 +1074,6 @@ void irq_free_virt(unsigned int virq, unsigned int count)
int arch_early_irq_init(void) int arch_early_irq_init(void)
{ {
struct irq_desc *desc;
int i;
for (i = 0; i < NR_IRQS; i++) {
desc = irq_to_desc(i);
if (desc)
desc->status |= IRQ_NOREQUEST;
}
return 0;
}
int arch_init_chip_data(struct irq_desc *desc, int node)
{
desc->status |= IRQ_NOREQUEST;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment