mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 17:54:52 +00:00
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
This commit is contained in:
parent
3d976872ed
commit
6a7ef08763
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101140
|
@ -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\
|
||||
|
|
|
@ -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\
|
||||
|
|
Loading…
Reference in a new issue