From: Cyrill Gorcunov Date: Mon, 23 Feb 2009 19:56:59 +0000 (+0300) Subject: x86: invalid_vm86_irq -- use predefined macros X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57e372932cec8eb141cde039aaeaa91b69fceba2;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git x86: invalid_vm86_irq -- use predefined macros Impact: cleanup Signed-off-by: Cyrill Gorcunov Cc: heukelum@fastmail.fm Cc: Cyrill Gorcunov Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h index b07278c55e9..8a285f356f8 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