summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-07-15 21:59:41 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 01:40:51 +0200
commit0e81c666dbf95546b3d9ea6ff7d29ea19b988950 (patch)
tree09221f00db39a084089adb170de40f63e27bf19d /arch
parentwrong order of arguments of ->readdir() (diff)
downloadlinux-0e81c666dbf95546b3d9ea6ff7d29ea19b988950.tar.xz
linux-0e81c666dbf95546b3d9ea6ff7d29ea19b988950.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/pseries/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
index 470db6efaeb6..a031d99becb7 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;
}