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: Fix indentation in irq.c.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Fix indentation in irq.c.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 09 Oct 2010 14:55:32 -0700
Delivery-date: Sat, 09 Oct 2010 14:59:38 -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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1284795255 -3600
# Node ID 0da4bfd2bc23937d2e1a8bfa6d259be0d9e482ad
# Parent  ee3c640732311ef6bc5e2de56c3b4b753cb020fa
x86: Fix indentation in irq.c.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/irq.c |   31 ++++++++++++++-----------------
 1 files changed, 14 insertions(+), 17 deletions(-)

diff -r ee3c64073231 -r 0da4bfd2bc23 xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c        Sat Sep 18 08:31:55 2010 +0100
+++ b/xen/arch/x86/irq.c        Sat Sep 18 08:34:15 2010 +0100
@@ -454,10 +454,10 @@ void __setup_vector_irq(int cpu)
 
 void move_masked_irq(int irq)
 {
-       struct irq_desc *desc = irq_to_desc(irq);
-
-       if (likely(!(desc->status & IRQ_MOVE_PENDING)))
-               return;
+    struct irq_desc *desc = irq_to_desc(irq);
+
+    if (likely(!(desc->status & IRQ_MOVE_PENDING)))
+        return;
     
     desc->status &= ~IRQ_MOVE_PENDING;
 
@@ -467,22 +467,19 @@ void move_masked_irq(int irq)
     if (!desc->handler->set_affinity)
         return;
 
-       /*
-        * If there was a valid mask to work with, please
-        * do the disable, re-program, enable sequence.
-        * This is *not* particularly important for level triggered
-        * but in a edge trigger case, we might be setting rte
-        * when an active trigger is comming in. This could
-        * cause some ioapics to mal-function.
-        * Being paranoid i guess!
-        *
-        * For correct operation this depends on the caller
-        * masking the irqs.
-        */
+    /*
+     * If there was a valid mask to work with, please do the disable, 
+     * re-program, enable sequence. This is *not* particularly important for 
+     * level triggered but in a edge trigger case, we might be setting rte 
when 
+     * an active trigger is comming in. This could cause some ioapics to 
+     * mal-function. Being paranoid i guess!
+     *
+     * For correct operation this depends on the caller masking the irqs.
+     */
     if (likely(cpus_intersects(desc->pending_mask, cpu_online_map)))
         desc->handler->set_affinity(irq, desc->pending_mask);
 
-       cpus_clear(desc->pending_mask);
+    cpus_clear(desc->pending_mask);
 }
 
 void move_native_irq(int irq)

_______________________________________________
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: Fix indentation in irq.c., Xen patchbot-unstable <=