WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Simplify arch_virq_is_global().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Aug 2008 08:10:12 -0700
Delivery-date: Wed, 13 Aug 2008 08:10:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: Simplify arch_virq_is_global()., Xen patchbot-unstable <=