Remove an unnecessary register load.
This commit is contained in:
parent
1c9d5fc21b
commit
aa9928df7a
@ -38,8 +38,7 @@
|
||||
|
||||
ENTRY(acpi_restorecpu)
|
||||
/* Switch to KPML4phys. */
|
||||
movq %rdi, %rax
|
||||
movq %rax, %cr3
|
||||
movq %rdi, %cr3
|
||||
|
||||
/* Restore GDT. */
|
||||
lgdt WAKEUP_CTX(gdt)
|
||||
|
Loading…
Reference in New Issue
Block a user