diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-07-15 19:59:41 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-15 23:40:51 (GMT) |
commit | 0e81c666dbf95546b3d9ea6ff7d29ea19b988950 (patch) | |
tree | 09221f00db39a084089adb170de40f63e27bf19d | |
parent | 7c9e3c2e3b0437d10a09b77769baf325b94aa436 (diff) | |
download | linux-0e81c666dbf95546b3d9ea6ff7d29ea19b988950.tar.xz |
the wrong variable checked after request_irq()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | arch/powerpc/platforms/pseries/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index 470db6e..a031d99 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c @@ -176,7 +176,7 @@ static void __init pseries_mpic_init_IRQ(void) return; cascade_irq = irq_of_parse_and_map(cascade, 0); - if (cascade == NO_IRQ) { + if (cascade_irq == NO_IRQ) { printk(KERN_ERR "mpic: failed to map cascade interrupt"); return; } |