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-devel

[Xen-devel] [PATCH] x86: remove unused parameter/arguments from flush_re

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] x86: remove unused parameter/arguments from flush_ready_eoi()
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Fri, 28 Nov 2008 10:00:15 +0000
Delivery-date: Fri, 28 Nov 2008 02:00:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Index: 2008-11-20/xen/arch/x86/irq.c
===================================================================
--- 2008-11-20.orig/xen/arch/x86/irq.c  2008-11-26 09:24:39.000000000 +0100
+++ 2008-11-20/xen/arch/x86/irq.c       2008-11-26 14:48:18.000000000 +0100
@@ -351,7 +351,7 @@ irq_desc_t *domain_spin_lock_irq_desc(
 }
 
 /* Flush all ready EOIs from the top of this CPU's pending-EOI stack. */
-static void flush_ready_eoi(void *unused)
+static void flush_ready_eoi(void)
 {
     struct pending_eoi *peoi = this_cpu(pending_eoi);
     irq_desc_t         *desc;
@@ -405,7 +405,7 @@ static void set_eoi_ready(void *data)
     __set_eoi_ready(desc);
     spin_unlock(&desc->lock);
 
-    flush_ready_eoi(NULL);
+    flush_ready_eoi();
 }
 
 static void __pirq_guest_eoi(struct domain *d, int irq)
@@ -453,7 +453,7 @@ static void __pirq_guest_eoi(struct doma
     {
         __set_eoi_ready(desc);
         spin_unlock(&desc->lock);
-        flush_ready_eoi(NULL);
+        flush_ready_eoi();
         local_irq_enable();
     }
     else
@@ -1096,6 +1096,6 @@ void fixup_irqs(cpumask_t map)
     peoi = this_cpu(pending_eoi);
     for ( sp = 0; sp < pending_eoi_sp(peoi); sp++ )
         peoi[sp].ready = 1;
-    flush_ready_eoi(NULL);
+    flush_ready_eoi();
 }
 #endif




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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] x86: remove unused parameter/arguments from flush_ready_eoi(), Jan Beulich <=