mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] remove CONFIG_PM_DISK
@ 2005-03-25  8:03 Coywolf Qi Hunt
  2005-03-25  8:08 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Coywolf Qi Hunt @ 2005-03-25  8:03 UTC (permalink / raw)
  To: pavel; +Cc: linux-kernel


Hello,

Pmdisk was merged in a few months ago. This removes CONFIG_PM_DISK
for conditional compilation.

	Coywolf


Signed-off-by: Coywolf Qi Hunt <coywolf@lovecn.org>
---

diff -pruN 2.6.11-mm4/arch/i386/defconfig 2.6.11-mm4-cy/arch/i386/defconfig
--- 2.6.11-mm4/arch/i386/defconfig	2005-03-17 01:21:16.000000000 +0800
+++ 2.6.11-mm4-cy/arch/i386/defconfig	2005-03-20 02:24:48.000000000 +0800
@@ -126,7 +126,6 @@ CONFIG_HAVE_DEC_LOCK=y
 #
 CONFIG_PM=y
 CONFIG_SOFTWARE_SUSPEND=y
-# CONFIG_PM_DISK is not set
 
 #
 # ACPI (Advanced Configuration and Power Interface) Support
diff -pruN 2.6.11-mm4/arch/i386/mm/init.c 2.6.11-mm4-cy/arch/i386/mm/init.c
--- 2.6.11-mm4/arch/i386/mm/init.c	2005-03-17 01:21:17.000000000 +0800
+++ 2.6.11-mm4-cy/arch/i386/mm/init.c	2005-03-20 02:41:26.000000000 +0800
@@ -352,7 +352,7 @@ static void __init pagetable_init (void)
 #endif
 }
 
-#if defined(CONFIG_PM_DISK) || defined(CONFIG_SOFTWARE_SUSPEND)
+#ifdef CONFIG_SOFTWARE_SUSPEND
 /*
  * Swap suspend & friends need this for resume because things like the intel-agp
  * driver might have split up a kernel 4MB mapping.
diff -pruN 2.6.11-mm4/mm/page_io.c 2.6.11-mm4-cy/mm/page_io.c
--- 2.6.11-mm4/mm/page_io.c	2004-08-20 14:20:15.000000000 +0800
+++ 2.6.11-mm4-cy/mm/page_io.c	2005-03-20 02:36:54.000000000 +0800
@@ -127,7 +127,7 @@ out:
 	return ret;
 }
 
-#if defined(CONFIG_SOFTWARE_SUSPEND) || defined(CONFIG_PM_DISK)
+#ifdef CONFIG_SOFTWARE_SUSPEND
 /*
  * A scruffy utility function to read or write an arbitrary swap page
  * and wait on the I/O.  The caller must have a ref on the page.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-25  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-25  8:03 [patch] remove CONFIG_PM_DISK Coywolf Qi Hunt
2005-03-25  8:08 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®