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:
Родитель
df54c4934e
Коммит
24c70e07a0
|
@ -401,8 +401,8 @@ int check_irq_vectors_for_cpu_disable(void)
|
|||
for (vector = FIRST_EXTERNAL_VECTOR;
|
||||
vector < first_system_vector; vector++) {
|
||||
if (!test_bit(vector, used_vectors) &&
|
||||
per_cpu(vector_irq, cpu)[vector] < 0)
|
||||
count++;
|
||||
per_cpu(vector_irq, cpu)[vector] <= VECTOR_UNDEFINED)
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче