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: remove unnecessary indirection from

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: remove unnecessary indirection from irq_complete_move()'s sole parameter
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Thu, 08 Sep 2011 14:33:08 +0100
Delivery-date: Thu, 08 Sep 2011 06:33:14 -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 Jan Beulich <jbeulich@xxxxxxxx>
# Date 1315388240 -3600
# Node ID 88065fb8d0aa214d032d76bd4480aa9ba5578b15
# Parent  ba75234a6f56ec349af46edec5dfae2fbb998976
x86: remove unnecessary indirection from irq_complete_move()'s sole parameter

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---


diff -r ba75234a6f56 -r 88065fb8d0aa xen/arch/x86/hpet.c
--- a/xen/arch/x86/hpet.c       Wed Sep 07 10:36:55 2011 +0100
+++ b/xen/arch/x86/hpet.c       Wed Sep 07 10:37:20 2011 +0100
@@ -296,7 +296,7 @@
 {
     struct irq_desc *desc = irq_to_desc(irq);
 
-    irq_complete_move(&desc);
+    irq_complete_move(desc);
     move_native_irq(irq);
     ack_APIC_irq();
 }
diff -r ba75234a6f56 -r 88065fb8d0aa xen/arch/x86/io_apic.c
--- a/xen/arch/x86/io_apic.c    Wed Sep 07 10:36:55 2011 +0100
+++ b/xen/arch/x86/io_apic.c    Wed Sep 07 10:37:20 2011 +0100
@@ -518,9 +518,8 @@
     cfg->move_in_progress = 0;
 }
 
-void irq_complete_move(struct irq_desc **descp)
+void irq_complete_move(struct irq_desc *desc)
 {
-    struct irq_desc *desc = *descp;
     struct irq_cfg *cfg = desc->chip_data;
     unsigned vector, me;
 
@@ -1569,7 +1568,7 @@
 {
     struct irq_desc *desc = irq_to_desc(irq);
     
-    irq_complete_move(&desc);
+    irq_complete_move(desc);
     move_native_irq(irq);
 
     if ((desc->status & (IRQ_PENDING | IRQ_DISABLED))
@@ -1648,7 +1647,7 @@
     int i;
     struct irq_desc *desc = irq_to_desc(irq);
 
-    irq_complete_move(&desc);
+    irq_complete_move(desc);
 
     if ( ioapic_ack_new )
         return;
@@ -1821,7 +1820,7 @@
 {
     struct irq_desc *desc = irq_to_desc(irq);
 
-    irq_complete_move(&desc);
+    irq_complete_move(desc);
     move_native_irq(irq);
 
     if ( msi_maskable_irq(desc->msi_desc) )
diff -r ba75234a6f56 -r 88065fb8d0aa xen/drivers/passthrough/amd/iommu_init.c
--- a/xen/drivers/passthrough/amd/iommu_init.c  Wed Sep 07 10:36:55 2011 +0100
+++ b/xen/drivers/passthrough/amd/iommu_init.c  Wed Sep 07 10:37:20 2011 +0100
@@ -424,7 +424,7 @@
     struct amd_iommu *iommu = irq_to_iommu[irq];
     struct irq_desc *desc = irq_to_desc(irq);
 
-    irq_complete_move(&desc);
+    irq_complete_move(desc);
 
     /* FIXME: do not support mask bits at the moment */
     if ( iommu->maskbit )
diff -r ba75234a6f56 -r 88065fb8d0aa xen/drivers/passthrough/vtd/iommu.c
--- a/xen/drivers/passthrough/vtd/iommu.c       Wed Sep 07 10:36:55 2011 +0100
+++ b/xen/drivers/passthrough/vtd/iommu.c       Wed Sep 07 10:37:20 2011 +0100
@@ -978,7 +978,7 @@
     struct iommu *iommu = irq_to_iommu[irq];
     struct irq_desc *desc = irq_to_desc(irq);
 
-    irq_complete_move(&desc);
+    irq_complete_move(desc);
 
     /* mask it */
     spin_lock_irqsave(&iommu->register_lock, flags);
diff -r ba75234a6f56 -r 88065fb8d0aa xen/include/asm-x86/irq.h
--- a/xen/include/asm-x86/irq.h Wed Sep 07 10:36:55 2011 +0100
+++ b/xen/include/asm-x86/irq.h Wed Sep 07 10:37:20 2011 +0100
@@ -162,7 +162,7 @@
 void destroy_irq(unsigned int irq);
 
 struct irq_desc;
-extern void irq_complete_move(struct irq_desc **descp);
+extern void irq_complete_move(struct irq_desc *);
 
 extern struct irq_desc *irq_desc;
 

_______________________________________________
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: remove unnecessary indirection from irq_complete_move()'s sole parameter, Xen patchbot-unstable <=