[Cbe-oss-dev] [PATCH] cell: interrupt.c ws clean up
Geoff Levand
geoffrey.levand at am.sony.com
Thu Aug 10 08:28:13 EST 2006
Whitespace clean up for cell/interrupt.c.
Signed-off-by: Geoff Levand <geoffrey.levand at am.sony.com>
---
Index: cell--common--4/arch/powerpc/platforms/cell/interrupt.c
===================================================================
--- cell--common--4.orig/arch/powerpc/platforms/cell/interrupt.c
+++ cell--common--4/arch/powerpc/platforms/cell/interrupt.c
@@ -91,17 +91,17 @@
/* Get an IRQ number from the pending state register of the IIC */
static unsigned int iic_get_irq(struct pt_regs *regs)
{
- struct cbe_iic_pending_bits pending;
- struct iic *iic;
+ struct cbe_iic_pending_bits pending;
+ struct iic *iic;
- iic = &__get_cpu_var(iic);
- *(unsigned long *) &pending =
- in_be64((unsigned long __iomem *) &iic->regs->pending_destr);
- iic->eoi_stack[++iic->eoi_ptr] = pending.prio;
- BUG_ON(iic->eoi_ptr > 15);
+ iic = &__get_cpu_var(iic);
+ *(unsigned long *) &pending =
+ in_be64((unsigned long __iomem *) &iic->regs->pending_destr);
+ iic->eoi_stack[++iic->eoi_ptr] = pending.prio;
+ BUG_ON(iic->eoi_ptr > 15);
if (pending.flags & CBE_IIC_IRQ_VALID)
return irq_linear_revmap(iic->host,
- iic_pending_to_hwnum(pending));
+ iic_pending_to_hwnum(pending));
return NO_IRQ;
}
@@ -296,16 +296,16 @@
struct resource r0, r1;
struct irq_host *host;
int found = 0;
- u32 *np;
+ u32 *np;
for (dn = NULL;
(dn = of_find_node_by_name(dn,"interrupt-controller")) != NULL;) {
if (!device_is_compatible(dn,
"IBM,CBEA-Internal-Interrupt-Controller"))
continue;
- np = (u32 *)get_property(dn, "ibm,interrupt-server-ranges",
+ np = (u32 *)get_property(dn, "ibm,interrupt-server-ranges",
NULL);
- if (np == NULL) {
+ if (np == NULL) {
printk(KERN_WARNING "IIC: CPU association not found\n");
of_node_put(dn);
return -ENODEV;
More information about the cbe-oss-dev
mailing list