aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-30 21:06:17 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-30 22:21:26 -0500
commitd8106d2e24d54497233ca9cd97fa9bec807de458 (patch)
treeb2967602f74f934dbafe858973791af99d3415e9 /arch/x86/include
parent009eb3fe146aa6f1951f3c5235851bb8d1330dfb (diff)
x86, vm86: clean up invalid_vm86_irq()
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/irq_vectors.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h
index 41e2450e13bd..b07278c55e9e 100644
--- a/arch/x86/include/asm/irq_vectors.h
+++ b/arch/x86/include/asm/irq_vectors.h
@@ -124,7 +124,13 @@
124 124
125#define FIRST_VM86_IRQ 3 125#define FIRST_VM86_IRQ 3
126#define LAST_VM86_IRQ 15 126#define LAST_VM86_IRQ 15
127#define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15) 127
128#ifndef __ASSEMBLY__
129static inline int invalid_vm86_irq(int irq)
130{
131 return irq < 3 || irq > 15;
132}
133#endif
128 134
129/* 135/*
130 * Size the maximum number of interrupts. 136 * Size the maximum number of interrupts.