cris: Use accessor functions to set IRQ_PER_CPU flag
authorThomas Gleixner <tglx@linutronix.de>
Thu, 17 Mar 2011 12:35:28 +0000 (13:35 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Mar 2011 14:52:13 +0000 (15:52 +0100)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/cris/arch-v32/kernel/irq.c

index 54ac2f79f8497c429a767162f6f563e95080f71a..8023176e19b2015f2283f4e5d2ad030171a1feb2 100644 (file)
@@ -456,11 +456,11 @@ init_IRQ(void)
                set_exception_vector(i, interrupt[j]);
        }
 
-        /* Mark Timer and IPI IRQs as CPU local */
+       /* Mark Timer and IPI IRQs as CPU local */
        irq_allocations[TIMER0_INTR_VECT - FIRST_IRQ].cpu = CPU_FIXED;
-       irq_desc[TIMER0_INTR_VECT].status |= IRQ_PER_CPU;
+       irq_set_status_flags(TIMER0_INTR_VECT, IRQ_PER_CPU);
        irq_allocations[IPI_INTR_VECT - FIRST_IRQ].cpu = CPU_FIXED;
-       irq_desc[IPI_INTR_VECT].status |= IRQ_PER_CPU;
+       irq_set_status_flags(IPI_INTR_VECT, IRQ_PER_CPU);
 
        set_exception_vector(0x00, nmi_interrupt);
        set_exception_vector(0x30, multiple_interrupt);