Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Devel

[PATCH v3 04/11] arm: replace list_del and INIT_LIST_HEAD with list_del_init

 

 

Xen devel RSS feed   Index | Next | Previous | View Threaded


stefano.stabellini at eu

Mar 2, 2012, 6:21 AM

Post #1 of 2 (63 views)
Permalink
[PATCH v3 04/11] arm: replace list_del and INIT_LIST_HEAD with list_del_init

Signed-off-by: Stefano Stabellini <stefano.stabellini [at] eu>
---
xen/arch/arm/gic.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c
index 72b122e..4842161 100644
--- a/xen/arch/arm/gic.c
+++ b/xen/arch/arm/gic.c
@@ -506,8 +506,7 @@ static void maintenance_interrupt(int irq, void *dev_id, struct cpu_user_regs *r
p->desc->status &= ~IRQ_INPROGRESS;
GICC[GICC_DIR] = virq;
}
- list_del(&p->inflight);
- INIT_LIST_HEAD(&p->inflight);
+ list_del_init(&p->inflight);
cpu_raise_softirq(current->processor, VGIC_SOFTIRQ);
spin_unlock(&current->arch.vgic.lock);

--
1.7.2.5


_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel


Ian.Campbell at citrix

Mar 14, 2012, 2:49 AM

Post #2 of 2 (51 views)
Permalink
Re: [PATCH v3 04/11] arm: replace list_del and INIT_LIST_HEAD with list_del_init [In reply to]

On Fri, 2012-03-02 at 14:27 +0000, Stefano Stabellini wrote:

This didn't apply any more. I expect it depended on 03/11?

> Signed-off-by: Stefano Stabellini <stefano.stabellini [at] eu>
> ---
> xen/arch/arm/gic.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c
> index 72b122e..4842161 100644
> --- a/xen/arch/arm/gic.c
> +++ b/xen/arch/arm/gic.c
> @@ -506,8 +506,7 @@ static void maintenance_interrupt(int irq, void *dev_id, struct cpu_user_regs *r
> p->desc->status &= ~IRQ_INPROGRESS;
> GICC[GICC_DIR] = virq;
> }
> - list_del(&p->inflight);
> - INIT_LIST_HEAD(&p->inflight);
> + list_del_init(&p->inflight);
> cpu_raise_softirq(current->processor, VGIC_SOFTIRQ);
> spin_unlock(&current->arch.vgic.lock);
>



_______________________________________________
Xen-devel mailing list
Xen-devel [at] lists
http://lists.xen.org/xen-devel

Xen devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.