Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57e37293 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar
Browse files

x86: invalid_vm86_irq -- use predefined macros



Impact: cleanup

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Cc: heukelum@fastmail.fm
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 5e112ae2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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