
This converts 4 usages of this option to the non-SPL form, since there is no SPL_I8259_PIC defined in Kconfig
Signed-off-by: Simon Glass sjg@chromium.org ---
arch/x86/lib/interrupts.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/x86/lib/interrupts.c b/arch/x86/lib/interrupts.c index ff52959ed28..33d6eb49d75 100644 --- a/arch/x86/lib/interrupts.c +++ b/arch/x86/lib/interrupts.c @@ -66,7 +66,7 @@ void irq_install_handler(int irq, interrupt_handler_t *handler, void *arg) irq_handlers[irq].arg = arg; irq_handlers[irq].count = 0;
- if (CONFIG_IS_ENABLED(I8259_PIC)) + if (IS_ENABLED(CONFIG_I8259_PIC)) unmask_irq(irq);
if (status) @@ -86,7 +86,7 @@ void irq_free_handler(int irq)
status = disable_interrupts();
- if (CONFIG_IS_ENABLED(I8259_PIC)) + if (IS_ENABLED(CONFIG_I8259_PIC)) mask_irq(irq);
irq_handlers[irq].handler = NULL; @@ -108,13 +108,13 @@ void do_irq(int hw_irq) }
if (irq_handlers[irq].handler) { - if (CONFIG_IS_ENABLED(I8259_PIC)) + if (IS_ENABLED(CONFIG_I8259_PIC)) mask_irq(irq);
irq_handlers[irq].handler(irq_handlers[irq].arg); irq_handlers[irq].count++;
- if (CONFIG_IS_ENABLED(I8259_PIC)) { + if (IS_ENABLED(CONFIG_I8259_PIC)) { unmask_irq(irq); specific_eoi(irq); }