PS3: Fix unlikely typo in ps3_get_irq
Subsystems (2)
PATCH 1/1 PS3: Fix unlikely typo in ps3_get_irq
From: Roel Kluin <[email protected]>
Fix a typo bug 'unlikely(x) == y' and add an unlikely() call to an unlikely code path in the PS3 interrupt routine ps3_get_irq().
Signed-off-by Roel Kluin <[email protected]>
Signed-off-by Geoff Levand <[email protected]>
---
Hi Paul,
Please apply for 2.6.25.
-Geoff
arch/powerpc/platforms/ps3/interrupt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/ps3/interrupt.c +1 -1
@@ -709,7 +709,7 @@ static unsigned int ps3_get_irq(void) asmvolatile ("cntlzd %0,%1" :"=r" (plug) :"r" (x)); plug &=0x3f ; -if (unlikely (plug) ==NO_IRQ ) { +if (unlikely (plug ==NO_IRQ )) {pr_debug ("%s:%d: no plug found: thread_id %lu\n" , __func__, __LINE__, pd->thread_id);dump_bmp (&per_cpu (ps3_private,0 ));