]> err.no Git - linux-2.6/commit
[PATCH] alpha show_interrups() trashes argument
authorEric Sesterhenn <snakebyte@gmx.de>
Wed, 1 Feb 2006 11:06:13 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:21 +0000 (08:53 -0800)
commitc5e3d98c5666c2533e67fb35dc5ad5de47db8aae
tree7423347a610ac84c80d340333ad4162fab895219
parent9a5e7339908d7d718ebc4149b77eee06291bdb95
[PATCH] alpha show_interrups() trashes argument

This is a bug found by cpminer.  The show_interrupts function reuses i as a
for loop counter, and therefore trashes its contents, which are needed
later.

(akpm: rename local `i' to `irq', use for_each_inline_cpu())

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/alpha/kernel/irq.c