Revision c5e3d98c5666c2533e67fb35dc5ad5de47db8aae authored by Eric Sesterhenn on 01 February 2006, 11:06:13 UTC, committed by Linus Torvalds on 01 February 2006, 16:53:21 UTC
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>
1 parent 9a5e733
History
File Mode Size
Makefile -rw-r--r-- 237 bytes
compat.c -rw-r--r-- 17.3 KB
compat_mq.c -rw-r--r-- 4.0 KB
mqueue.c -rw-r--r-- 29.2 KB
msg.c -rw-r--r-- 18.4 KB
msgutil.c -rw-r--r-- 2.4 KB
sem.c -rw-r--r-- 32.9 KB
shm.c -rw-r--r-- 21.1 KB
util.c -rw-r--r-- 16.9 KB
util.h -rw-r--r-- 2.6 KB

back to top