[PATCH] fix kexec asm
authorMichael Matz <matz@suse.de>
Wed, 8 Mar 2006 05:55:48 +0000 (21:55 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Mar 2006 22:15:04 +0000 (14:15 -0800)
commit2ec5e3a867d63d04932e11c6097f63760d9be3fe
treebb3ea7b72232ec127a104c37cce0f17881ad5d28
parent62287fbb54b4af71dc5a4918350f81a4cd467788
[PATCH] fix kexec asm

While testing kexec and kdump we hit problems where the new kernel would
freeze or instantly reboot.  The easiest way to trigger it was to kexec a
kernel compiled for CONFIG_M586 on an athlon cpu.  Compiling for CONFIG_MK7
instead would work fine.

The patch fixes a few problems with the kexec inline asm.

Signed-off-by: Chris Mason <mason@suse.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/machine_kexec.c
arch/x86_64/kernel/machine_kexec.c
include/asm-powerpc/kexec.h