Remove an unnecessary register load.
This commit is contained in:
parent
5a360d60e9
commit
bdb71ad1a7
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user