Remove an unnecessary register load.

This commit is contained in:
jkim 2010-08-03 16:08:58 +00:00
parent 5a360d60e9
commit bdb71ad1a7

View File

@ -38,8 +38,7 @@
ENTRY(acpi_restorecpu) ENTRY(acpi_restorecpu)
/* Switch to KPML4phys. */ /* Switch to KPML4phys. */
movq %rdi, %rax movq %rdi, %cr3
movq %rax, %cr3
/* Restore GDT. */ /* Restore GDT. */
lgdt WAKEUP_CTX(gdt) lgdt WAKEUP_CTX(gdt)