diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2008-03-26 20:37:18 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-01 05:43:07 -0400 |
commit | ad18c3db337c6307c7bfbe1f89ad6d92714ffc11 (patch) | |
tree | 63e8305046aa95d748fb909b83865c6d0fdd1e54 /arch | |
parent | e6b18912d3df8ccc5cc19823544fcce19af25072 (diff) |
[POWERPC] PS3: Fix unlikely typo in ps3_get_irq
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 <12o3l@tiscali.nl>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/ps3/interrupt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/ps3/interrupt.c b/arch/powerpc/platforms/ps3/interrupt.c index 3a6db04aa940..a14e5cdc2fed 100644 --- a/arch/powerpc/platforms/ps3/interrupt.c +++ b/arch/powerpc/platforms/ps3/interrupt.c | |||
@@ -709,7 +709,7 @@ static unsigned int ps3_get_irq(void) | |||
709 | asm volatile("cntlzd %0,%1" : "=r" (plug) : "r" (x)); | 709 | asm volatile("cntlzd %0,%1" : "=r" (plug) : "r" (x)); |
710 | plug &= 0x3f; | 710 | plug &= 0x3f; |
711 | 711 | ||
712 | if (unlikely(plug) == NO_IRQ) { | 712 | if (unlikely(plug == NO_IRQ)) { |
713 | pr_debug("%s:%d: no plug found: thread_id %lu\n", __func__, | 713 | pr_debug("%s:%d: no plug found: thread_id %lu\n", __func__, |
714 | __LINE__, pd->thread_id); | 714 | __LINE__, pd->thread_id); |
715 | dump_bmp(&per_cpu(ps3_private, 0)); | 715 | dump_bmp(&per_cpu(ps3_private, 0)); |