diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2009-02-23 22:56:59 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-24 20:08:39 +0300 |
commit | 57e372932cec8eb141cde039aaeaa91b69fceba2 (patch) | |
tree | 3cbfd7d703f6d1329f169a10b346c705cbe9d959 /arch/x86/include/asm/irq_vectors.h | |
parent | 5e112ae23b404ccba0a61630b82ec44f0d084880 (diff) | |
download | linux-57e372932cec8eb141cde039aaeaa91b69fceba2.tar.xz |
x86: invalid_vm86_irq -- use predefined macros
Impact: cleanup
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: heukelum@fastmail.fm
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/irq_vectors.h')
-rw-r--r-- | arch/x86/include/asm/irq_vectors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h index b07278c55e9e..8a285f356f8a 100644 --- a/arch/x86/include/asm/irq_vectors.h +++ b/arch/x86/include/asm/irq_vectors.h @@ -128,7 +128,7 @@ #ifndef __ASSEMBLY__ static inline int invalid_vm86_irq(int irq) { - return irq < 3 || irq > 15; + return irq < FIRST_VM86_IRQ || irq > LAST_VM86_IRQ; } #endif |