Remove an unnecessary register load.
This commit is contained in:
parent
5a360d60e9
commit
bdb71ad1a7
@ -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