projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
009eb3f
)
x86, vm86: clean up invalid_vm86_irq()
author
Ingo Molnar
<mingo@elte.hu>
Sat, 31 Jan 2009 02:06:17 +0000
(
03:06
+0100)
committer
Ingo Molnar
<mingo@elte.hu>
Sat, 31 Jan 2009 03:21:26 +0000
(
04:21
+0100)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/irq_vectors.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/irq_vectors.h
b/arch/x86/include/asm/irq_vectors.h
index 41e2450e13bd4d96d3202fdfdc955fd60b6ca024..b07278c55e9ef4b500319f657ad09c2b27c4b006 100644
(file)
--- a/
arch/x86/include/asm/irq_vectors.h
+++ b/
arch/x86/include/asm/irq_vectors.h
@@
-124,7
+124,13
@@
#define FIRST_VM86_IRQ 3
#define LAST_VM86_IRQ 15
-#define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15)
+
+#ifndef __ASSEMBLY__
+static inline int invalid_vm86_irq(int irq)
+{
+ return irq < 3 || irq > 15;
+}
+#endif
/*
* Size the maximum number of interrupts.