aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-17 08:35:28 -0400
committerThomas Gleixner <tglx@linutronix.de>2011-03-17 10:52:13 -0400
commit6d05c80dd2115d69599368b150c3df0cf5a54c51 (patch)
tree4b516fd82c48d21c5aaf557838ebf3dae4896e52 /arch/cris
parent368e2119c37312f8bb2ab4d1346c46f9611805e4 (diff)
cris: Use accessor functions to set IRQ_PER_CPU flag
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/arch-v32/kernel/irq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32/kernel/irq.c
index 54ac2f79f849..8023176e19b2 100644
--- a/arch/cris/arch-v32/kernel/irq.c
+++ b/arch/cris/arch-v32/kernel/irq.c
@@ -456,11 +456,11 @@ init_IRQ(void)
456 set_exception_vector(i, interrupt[j]); 456 set_exception_vector(i, interrupt[j]);
457 } 457 }
458 458
459 /* Mark Timer and IPI IRQs as CPU local */ 459 /* Mark Timer and IPI IRQs as CPU local */
460 irq_allocations[TIMER0_INTR_VECT - FIRST_IRQ].cpu = CPU_FIXED; 460 irq_allocations[TIMER0_INTR_VECT - FIRST_IRQ].cpu = CPU_FIXED;
461 irq_desc[TIMER0_INTR_VECT].status |= IRQ_PER_CPU; 461 irq_set_status_flags(TIMER0_INTR_VECT, IRQ_PER_CPU);
462 irq_allocations[IPI_INTR_VECT - FIRST_IRQ].cpu = CPU_FIXED; 462 irq_allocations[IPI_INTR_VECT - FIRST_IRQ].cpu = CPU_FIXED;
463 irq_desc[IPI_INTR_VECT].status |= IRQ_PER_CPU; 463 irq_set_status_flags(IPI_INTR_VECT, IRQ_PER_CPU);
464 464
465 set_exception_vector(0x00, nmi_interrupt); 465 set_exception_vector(0x00, nmi_interrupt);
466 set_exception_vector(0x30, multiple_interrupt); 466 set_exception_vector(0x30, multiple_interrupt);