diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2002-08-01 09:48:01 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2002-08-01 09:48:01 +0000 |
commit | dcd6a10ea743d310fb089715964598e510f7fc15 (patch) | |
tree | 8661333547e257fa126006b76563aeb546db8b46 /sys/amd64/acpica | |
parent | 1f7fcdf2d9b6caef6522a5be250d368afb15d2b7 (diff) | |
download | FreeBSD-src-dcd6a10ea743d310fb089715964598e510f7fc15.zip FreeBSD-src-dcd6a10ea743d310fb089715964598e510f7fc15.tar.gz |
Fix a bug about stack manipulation at ACPI wakeup.
This should avoid kernel panic on kernel compiled w/o
NO_CPU_COPTFLAGS.
Suggested by: optimized code by -mcpu=pentiumpro
Diffstat (limited to 'sys/amd64/acpica')
-rw-r--r-- | sys/amd64/acpica/acpi_wakeup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/acpica/acpi_wakeup.c b/sys/amd64/acpica/acpi_wakeup.c index 4f595da..672174c 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\ |