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