]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix software suspend compilation on x86-64
authorAndi Kleen <ak@muc.de>
Sun, 12 Oct 2003 15:30:02 +0000 (08:30 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 12 Oct 2003 15:30:02 +0000 (08:30 -0700)
From Pavel Machek. Make software suspend compile again on x86-64

include/asm-x86_64/suspend.h

index ba0ba0c23132c338c1ac67b390d4a9ee724d5b00..914d98371eec008b192d19312d58e694528a902c 100644 (file)
@@ -1,14 +1,15 @@
 /*
- * Copyright 2001-2002 Pavel Machek <pavel@suse.cz>
+ * Copyright 2001-2003 Pavel Machek <pavel@suse.cz>
  * Based on code
  * Copyright 2001 Patrick Mochel <mochel@osdl.org>
  */
 #include <asm/desc.h>
 #include <asm/i387.h>
 
-static inline void
+static inline int
 arch_prepare_suspend(void)
 {
+       return 0;
 }
 
 /* Image of the saved processor state. If you touch this, fix acpi_wakeup.S. */