diff --git a/sys/amd64/acpica/acpi_wakeup.c b/sys/amd64/acpica/acpi_wakeup.c index 4f595daf6857..672174c2ee94 100644 --- a/sys/amd64/acpica/acpi_wakeup.c +++ b/sys/amd64/acpica/acpi_wakeup.c @@ -93,6 +93,7 @@ acpi_restorecpu: \n\ movl r_esi,%esi \n\ movl r_edi,%edi \n\ movl r_esp,%esp \n\ + popl %eax \n\ \n\ pushl r_efl \n\ popfl \n\ diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c index 4f595daf6857..672174c2ee94 100644 --- a/sys/i386/acpica/acpi_wakeup.c +++ b/sys/i386/acpica/acpi_wakeup.c @@ -93,6 +93,7 @@ acpi_restorecpu: \n\ movl r_esi,%esi \n\ movl r_edi,%edi \n\ movl r_esp,%esp \n\ + popl %eax \n\ \n\ pushl r_efl \n\ popfl \n\