From: Eric W. Biederman Date: Fri, 29 Jul 2005 19:02:09 +0000 (-0600) Subject: [PATCH] x86_64 machine_kexec: Cleanup inline assembly. X-Git-Tag: v2.6.13-rc5~101 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36c4fd23cc06f81d68ee968c4c1bf1cebb3dcea5;p=pandora-kernel.git [PATCH] x86_64 machine_kexec: Cleanup inline assembly. In an uncensored copy of code from i386 to x86_64 I wound up with inline assembly with the wrong constraints. Use input constraints instead of output constraints. So I know the assembler will do the right thing specify the size of the operand lidtq and lgdtq instead of just lidt and lgdt. Make load_segments use an input constraint, and delete the macro fun. Without having to reload %cs like I do on i386 this code is noticeably simpler. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed