]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] i386 machine_kexec: Cleanup inline assembly
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 29 Jul 2005 19:01:18 +0000 (13:01 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 19:17:26 +0000 (12:17 -0700)
commite7b47ccaf655cbaf336745a9b65cf7b22a536fca
treee60c0850ffab179e4080c5deb718a7b9a76b0a5c
parent1108bae41e2ac596f46bc4cd8876b93063203d2b
[PATCH] i386 machine_kexec: Cleanup inline assembly

For some reason I was telling my inline assembly that the
input argument was an output argument.

Playing in the trampoline code I have seen a couple of
instances where lgdt get the wrong size (because the
trampolines run in 16bit mode) so use lgdtl and lidtl to
be explicit.

Additionally gcc-3.3 and gcc-3.4 want's an lvalue for a
memory argument and it doesn't think an array of characters
is an lvalue so use a packed structure instead.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/machine_kexec.c