MFi386: avoid partial register references, for what its worth.

This commit is contained in:
peter 2004-05-16 20:46:13 +00:00
parent 172c58b998
commit cd0ccfc778

View File

@ -624,11 +624,11 @@ ENTRY(lgdt)
nop
1:
movl $KDSEL, %eax
mov %ax,%ds
mov %ax,%es
mov %ax,%fs /* Beware, use wrmsr to set 64 bit base */
mov %ax,%gs
mov %ax,%ss
movl %eax,%ds
movl %eax,%es
movl %eax,%fs /* Beware, use wrmsr to set 64 bit base */
movl %eax,%gs
movl %eax,%ss
/* reload code selector by turning return into intersegmental return */
popq %rax