summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-17 13:35:28 +0100
committerThomas Gleixner <tglx@linutronix.de>2011-03-17 15:52:13 +0100
commit6d05c80dd2115d69599368b150c3df0cf5a54c51 (patch)
tree4b516fd82c48d21c5aaf557838ebf3dae4896e52 /arch
parent368e2119c37312f8bb2ab4d1346c46f9611805e4 (diff)
downloadop-kernel-dev-6d05c80dd2115d69599368b150c3df0cf5a54c51.zip
op-kernel-dev-6d05c80dd2115d69599368b150c3df0cf5a54c51.tar.gz
cris: Use accessor functions to set IRQ_PER_CPU flag
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-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 54ac2f7..8023176 100644
--- a/arch/cris/arch-v32/kernel/irq.c
+++ b/arch/cris/arch-v32/kernel/irq.c
@@ -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);
OpenPOWER on IntegriCloud