[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: remove unnecessary indirection from irq_complete_move()'s sole parameter
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |