[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: Simplify arch_virq_is_global().



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1218631180 -3600
# Node ID 29c242c06ac2b86eef9e3c41ee5b8bfc740dd0bc
# Parent  d96bf4cd0f3789f5db9af735692bf54204df2a41
x86: Simplify arch_virq_is_global().
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/include/asm-x86/event.h |    7 +------
 1 files changed, 1 insertion(+), 6 deletions(-)

diff -r d96bf4cd0f37 -r 29c242c06ac2 xen/include/asm-x86/event.h
--- a/xen/include/asm-x86/event.h       Wed Aug 13 12:13:59 2008 +0100
+++ b/xen/include/asm-x86/event.h       Wed Aug 13 13:39:40 2008 +0100
@@ -69,12 +69,7 @@ static inline void local_event_delivery_
 /* 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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.