mirror of https://gitee.com/openkylin/linux.git
[PATCH] x86-64: Fix warning in io_apic.c
This commit is contained in:
parent
ff0a538d8b
commit
f7a23328a7
|
@ -754,10 +754,8 @@ void __setup_vector_irq(int cpu)
|
|||
{
|
||||
/* Initialize vector_irq on a new cpu */
|
||||
/* This function must be called with vector_lock held */
|
||||
unsigned long flags;
|
||||
int irq, vector;
|
||||
|
||||
|
||||
/* Mark the inuse vectors */
|
||||
for (irq = 0; irq < NR_IRQ_VECTORS; ++irq) {
|
||||
if (!cpu_isset(cpu, irq_domain[irq]))
|
||||
|
|
Loading…
Reference in New Issue