提交 f7a23328 编写于 作者: A Andi Kleen 提交者: Andi Kleen

[PATCH] x86-64: Fix warning in io_apic.c

上级 ff0a538d
...@@ -754,10 +754,8 @@ void __setup_vector_irq(int cpu) ...@@ -754,10 +754,8 @@ void __setup_vector_irq(int cpu)
{ {
/* Initialize vector_irq on a new cpu */ /* Initialize vector_irq on a new cpu */
/* This function must be called with vector_lock held */ /* This function must be called with vector_lock held */
unsigned long flags;
int irq, vector; int irq, vector;
/* Mark the inuse vectors */ /* Mark the inuse vectors */
for (irq = 0; irq < NR_IRQ_VECTORS; ++irq) { for (irq = 0; irq < NR_IRQ_VECTORS; ++irq) {
if (!cpu_isset(cpu, irq_domain[irq])) if (!cpu_isset(cpu, irq_domain[irq]))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册