mirror of https://gitee.com/openkylin/linux.git
x86/irq: Replace numeric constant
Use the proper define instead of 0. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Jiang Liu <jiang.liu@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Bjorn Helgaas <bhelgaas@google.com> Link: http://lkml.kernel.org/r/20150802203609.385495420@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
df54c4934e
commit
24c70e07a0
|
@ -401,8 +401,8 @@ int check_irq_vectors_for_cpu_disable(void)
|
||||||
for (vector = FIRST_EXTERNAL_VECTOR;
|
for (vector = FIRST_EXTERNAL_VECTOR;
|
||||||
vector < first_system_vector; vector++) {
|
vector < first_system_vector; vector++) {
|
||||||
if (!test_bit(vector, used_vectors) &&
|
if (!test_bit(vector, used_vectors) &&
|
||||||
per_cpu(vector_irq, cpu)[vector] < 0)
|
per_cpu(vector_irq, cpu)[vector] <= VECTOR_UNDEFINED)
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue