From bdb71ad1a755156a21fd5b7cf21390f83ff878bd Mon Sep 17 00:00:00 2001 From: jkim Date: Tue, 3 Aug 2010 16:08:58 +0000 Subject: Remove an unnecessary register load. --- sys/amd64/acpica/acpi_switch.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/amd64/acpica') diff --git a/sys/amd64/acpica/acpi_switch.S b/sys/amd64/acpica/acpi_switch.S index 2b2887b..fbe4097 100644 --- a/sys/amd64/acpica/acpi_switch.S +++ b/sys/amd64/acpica/acpi_switch.S @@ -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) -- cgit v1.1