Skip to contentSkip to conversation

config cleanup - software suspend

PATCH In review Brad Hards 2 participants 2 messages Jun 16, 2002

lore
Share & tools
lore

Brad Hards

author
#0 lore raw

PATCH 1/1 config cleanup - software suspend

Please find enclosed a trivial patch that moves the Software Suspend configuration option into the new power management menu, which is where (IMNSHO) it belongs.

Brad

Signature · 1 line
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.
arch/i386/config.in +2 -4
diff -Naur -X dontdiff linux-2.5.21/arch/i386/config.in linux-2.5.21-config-pm/arch/i386/config.in
@@ -225,6 +225,8 @@
    bool '    Use real mode APM BIOS call to power off' CONFIG_APM_REAL_MODE_POWER_OFF
 fi
 
+dep_mbool 'Software Suspend (EXPERIMENTAL)' CONFIG_SOFTWARE_SUSPEND $CONFIG_PM $CONFIG_EXPERIMENTAL
+
 endmenu
 
 mainmenu_option next_comment
@@ -405,10 +407,6 @@
 
 mainmenu_option next_comment
 comment 'Kernel hacking'
-if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
-   dep_bool 'Software Suspend' CONFIG_SOFTWARE_SUSPEND $CONFIG_PM
-fi
-
 bool 'Kernel debugging' CONFIG_DEBUG_KERNEL
 if [ "$CONFIG_DEBUG_KERNEL" != "n" ]; then
    bool '  Debug memory allocations' CONFIG_DEBUG_SLAB
#1 lore raw

Hi!

Quoted 3 lines

Please find enclosed a trivial patch that moves the Software Suspend configuration option into the new power management menu, which is where (IMNSHO) it belongs.

Looks good.
Pavel

Signature · 2 lines
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.