From e8c1df443f0ad19446e293634acd1cbf056d92cd Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 13 Aug 2008 13:39:40 +0100 Subject: [PATCH] x86: Simplify arch_virq_is_global(). Signed-off-by: Keir Fraser --- xen/include/asm-x86/event.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/xen/include/asm-x86/event.h b/xen/include/asm-x86/event.h index 02a900f20d..b1323089b1 100644 --- a/xen/include/asm-x86/event.h +++ b/xen/include/asm-x86/event.h @@ -69,12 +69,7 @@ static inline void local_event_delivery_enable(void) /* No arch specific virq definition now. Default to global. */ static inline int arch_virq_is_global(int virq) { - switch (virq) { - case VIRQ_MCA: - return 1; - default: - return 1; - } + return 1; } #endif -- 2.30.2