[PATCH] i386: need to pass virtual address to smp_read_mpc()
authorDaniel Yeisley <dan.yeisley@unisys.com>
Tue, 21 Feb 2006 02:27:54 +0000 (18:27 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Feb 2006 04:00:09 +0000 (20:00 -0800)
commit7d4c8e56109e0799ab9fb644c08a8daf4a026675
tree31e94080489cf7c1348dac86d0606179742555e7
parent9b0f8b040acd8dfd23860754c0d09ff4f44e2cbc
[PATCH] i386: need to pass virtual address to smp_read_mpc()

I'm seeing a kernel panic on an ES7000-600 when booting in virtual wire
mode.  The panic happens because smp_read_mpc() is passed a physical
address, and it should be virtual.  I tested the attached patch on the
ES7000-600 and on a 2 cpu Dell box, and saw no problems on either.

Signed-off-by: Dan Yeisley <dan.yeisley@unisys.com>
Acked-by: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/mpparse.c