Skip to contentSkip to conversation

suspend_s4bios needs asmlinkage, too

PATCH Pavel Machek 1 participant 1 message Apr 2, 2004 ACPI

lore
Share & tools
lore
#0 lore raw

Hi!

Subject says it pretty much all, otherwise it will crash during S4bios suspend with regparm=3. Please apply,

Pavel

drivers/acpi/hardware/hwsleep.c renamed from linux/drivers/acpi/hardware/hwsleep.c +1 -1
@@ -394,7 +394,7 @@
  *
  ******************************************************************************/
 
-acpi_status
+acpi_status asmlinkage
 acpi_enter_sleep_state_s4bios (
 	void)
 {
Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]