mirror of https://gitee.com/openkylin/linux.git
cris: Use accessor functions to set IRQ_PER_CPU flag
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
368e2119c3
commit
6d05c80dd2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue