Skip to content

Commit

Permalink
x86: invalid_vm86_irq -- use predefined macros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed Feb 24, 2009
1 parent 5e112ae commit 57e3729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/include/asm/irq_vectors.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 57e3729

Please sign in to comment.