[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.0-testing] x86: Fix indentation in irq.c.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1285010182 -3600
# Node ID 09e971d829482ec045f309949e14ed1de938e845
# Parent  1a18ed0a9708ea7b628bf7347442e0cfa1500631
x86: Fix indentation in irq.c.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   22176:0da4bfd2bc23
xen-unstable date:        Sat Sep 18 08:34:15 2010 +0100
---
 xen/arch/x86/irq.c |   31 ++++++++++++++-----------------
 1 files changed, 14 insertions(+), 17 deletions(-)

diff -r 1a18ed0a9708 -r 09e971d82948 xen/arch/x86/irq.c
--- a/xen/arch/x86/irq.c        Mon Sep 20 20:15:57 2010 +0100
+++ b/xen/arch/x86/irq.c        Mon Sep 20 20:16:22 2010 +0100
@@ -458,10 +458,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;
 
@@ -471,22 +471,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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.