From ef8e826c33ea5498aff4110dcd7f24e5f729e412 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Sat, 15 Jun 2002 00:53:09 -0700 Subject: [PATCH] suspend-to-{ram/disk} cleanups/fixes for 2.5.21 This kills Sysrq-D support (did not work anyway, and complicated code). Adds resume support to i8259A (otherwise interrupts will not work after S3). HAVE_NEW_DEVICE_MODEL is always true in 2.5, so we should define it. S3 can't work properly without that. Also limit toshiba workaround to S1. (This hide lack of i8259A support for me). Fixes compilation, and kills being included twice with ugly hacks around. --- include/linux/suspend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/suspend.h b/include/linux/suspend.h index f63d72634a07..316ec1a6e30c 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h @@ -1,7 +1,7 @@ #ifndef _LINUX_SWSUSP_H #define _LINUX_SWSUSP_H -#if defined(SUSPEND_C) || defined(ACPI_C) +#ifdef CONFIG_X86 #include #endif #include -- cgit v1.2.3