CVSROOT: /cvs Module name: src Changes by: [email protected] 2010/06/30 21:22:12
Modified files:
sys/sys : cdefs.h
sys/arch/i386/i386: acpi_machdep.c
sys/arch/amd64/amd64: acpi_machdep.c
Log message:
mark acpi_savecpu with the gcc returns_twice attribute as suggested
by deraadt so the stack will be sane during suspend/resume with gcc4.
Noticed on i386 due to the lack of general purpose registers compared
to amd64.
ok deraadt@ mlarkin@
