From: Keir Fraser Date: Wed, 13 Aug 2008 12:39:40 +0000 (+0100) Subject: x86: Simplify arch_virq_is_global(). X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14157^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e8c1df443f0ad19446e293634acd1cbf056d92cd;p=xen.git x86: Simplify arch_virq_is_global(). Signed-off-by: Keir Fraser --- 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