[patch 3/6] x86: invalid_vm86_irq -- use predefined macros

From: Cyrill Gorcunov
Date: Mon Feb 23 2009 - 15:03:00 EST


Impact: cleanup

Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
---

arch/x86/include/asm/irq_vectors.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.git/arch/x86/include/asm/irq_vectors.h
===================================================================
--- linux-2.6.git.orig/arch/x86/include/asm/irq_vectors.h
+++ linux-2.6.git/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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/