x86: invalid_vm86_irq -- use predefined macros
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 23 Feb 2009 19:56:59 +0000 (22:56 +0300)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Feb 2009 17:08:39 +0000 (18:08 +0100)
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>
arch/x86/include/asm/irq_vectors.h

index b07278c55e9ef4b500319f657ad09c2b27c4b006..8a285f356f8aef9e0e64b1210303c7d82acdfa19 100644 (file)
 #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