diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-08-02 16:38:24 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-08-05 18:14:58 -0400 |
commit | 24c70e07a0311a98dbb5e7a7472fa96a22b789d3 (patch) | |
tree | 990dcd031016b9b1c9b8e70862131fc0b7212b31 | |
parent | df54c4934e030e73cb6a7bd6713f697350dabd0b (diff) |
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>
-rw-r--r-- | arch/x86/kernel/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index bc28496fd196..35d4cb287771 100644 --- a/arch/x86/kernel/irq.c +++ b/arch/x86/kernel/irq.c | |||
@@ -401,8 +401,8 @@ int check_irq_vectors_for_cpu_disable(void) | |||
401 | for (vector = FIRST_EXTERNAL_VECTOR; | 401 | for (vector = FIRST_EXTERNAL_VECTOR; |
402 | vector < first_system_vector; vector++) { | 402 | vector < first_system_vector; vector++) { |
403 | if (!test_bit(vector, used_vectors) && | 403 | if (!test_bit(vector, used_vectors) && |
404 | per_cpu(vector_irq, cpu)[vector] < 0) | 404 | per_cpu(vector_irq, cpu)[vector] <= VECTOR_UNDEFINED) |
405 | count++; | 405 | count++; |
406 | } | 406 | } |
407 | } | 407 | } |
408 | 408 | ||