From 6ab5c9ad7209be7081b9e2ac18cf8b6c9c2044f6 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Sun, 12 Oct 2003 08:30:02 -0700 Subject: [PATCH] [PATCH] Fix software suspend compilation on x86-64 From Pavel Machek. Make software suspend compile again on x86-64 --- include/asm-x86_64/suspend.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/asm-x86_64/suspend.h b/include/asm-x86_64/suspend.h index ba0ba0c23132c..914d98371eec0 100644 --- a/include/asm-x86_64/suspend.h +++ b/include/asm-x86_64/suspend.h @@ -1,14 +1,15 @@ /* - * Copyright 2001-2002 Pavel Machek + * Copyright 2001-2003 Pavel Machek * Based on code * Copyright 2001 Patrick Mochel */ #include #include -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. */ -- 2.53.0