suspend_s4bios needs asmlinkage, too

From: Pavel Machek
Date: Fri Apr 02 2004 - 11:57:30 EST


Hi!

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

Pavel
--- tmp/linux/drivers/acpi/hardware/hwsleep.c 2004-03-11 18:10:48.000000000 +0100
+++ linux/drivers/acpi/hardware/hwsleep.c 2004-03-11 18:16:06.000000000 +0100
@@ -394,7 +394,7 @@
*
******************************************************************************/

-acpi_status
+acpi_status asmlinkage
acpi_enter_sleep_state_s4bios (
void)
{

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/