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] [IA64] eliminate redundant wakeup logic

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] eliminate redundant wakeup logic
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 09 Dec 2006 15:42:23 +0000
Delivery-date: Sat, 09 Dec 2006 07:42:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 awilliam@xxxxxxxxxxx
# Node ID 3ef3ac573a9a81e38bd96b653501c138e83d2b19
# Parent  30b1325e64527c9bb1d3604d898365f781717e9d
[IA64] eliminate redundant wakeup logic

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>
---
 xen/arch/ia64/vmx/vlsapic.c         |   11 -----------
 xen/include/asm-ia64/vmx_platform.h |    4 ++--
 2 files changed, 2 insertions(+), 13 deletions(-)

diff -r 30b1325e6452 -r 3ef3ac573a9a xen/arch/ia64/vmx/vlsapic.c
--- a/xen/arch/ia64/vmx/vlsapic.c       Mon Nov 20 09:39:46 2006 -0700
+++ b/xen/arch/ia64/vmx/vlsapic.c       Mon Nov 20 10:06:18 2006 -0700
@@ -677,14 +677,3 @@ void vmx_vioapic_set_irq(struct domain *
     spin_unlock_irqrestore(&d->arch.arch_vmx.virq_assist_lock, flags);
 }
 
-int vmx_vlapic_set_irq(VCPU *v, uint8_t vec, uint8_t trig)
-{
-    int ret;
-    int running = test_bit(_VCPUF_running, &v->vcpu_flags);
-
-    ret = vmx_vcpu_pend_interrupt(v, vec);
-    vcpu_unblock(v);
-    if (running)
-        smp_send_event_check_cpu(v->processor);
-    return ret;
-}
diff -r 30b1325e6452 -r 3ef3ac573a9a xen/include/asm-ia64/vmx_platform.h
--- a/xen/include/asm-ia64/vmx_platform.h       Mon Nov 20 09:39:46 2006 -0700
+++ b/xen/include/asm-ia64/vmx_platform.h       Mon Nov 20 10:06:18 2006 -0700
@@ -56,10 +56,10 @@ extern uint64_t dummy_tmr[];
 #define VLAPIC_ID(l) (uint16_t)(((l)->vcpu->arch.privregs->lid) >> 16)
 #define VLAPIC_IRR(l) ((l)->vcpu->arch.privregs->irr[0])
 struct vlapic *apic_round_robin(struct domain *d, uint8_t vector, uint32_t 
bitmap);
-extern int vmx_vlapic_set_irq(struct vcpu *v, uint8_t vec, uint8_t trig);
+extern int vmx_vcpu_pend_interrupt(struct vcpu *vcpu, uint8_t vector);
 static inline int vlapic_set_irq(struct vlapic *t, uint8_t vec, uint8_t trig)
 {
-    return vmx_vlapic_set_irq(t->vcpu, vec, trig);
+    return vmx_vcpu_pend_interrupt(t->vcpu, vec);
 }
 
 enum ioapic_irq_destination_types {

_______________________________________________
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] [IA64] eliminate redundant wakeup logic, Xen patchbot-unstable <=