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:
Mitsuru IWASAKI 2002-08-01 09:48:01 +00:00
parent 3d976872ed
commit 6a7ef08763
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101140
2 changed files with 2 additions and 0 deletions

View file

@ -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\

View file

@ -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\