diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2005-07-29 13:02:09 -0600 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-29 12:17:27 -0700 |
commit | 36c4fd23cc06f81d68ee968c4c1bf1cebb3dcea5 (patch) | |
tree | 53bbd9c8fef8b84e26e0ae0471eb6c912e7ba553 /include | |
parent | e7b47ccaf655cbaf336745a9b65cf7b22a536fca (diff) |
[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 <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions