/dev/null | 235 ---------- arch/i386/Kconfig | 44 -- arch/i386/Makefile | 1 arch/i386/kernel/Makefile | 2 arch/i386/power/Makefile | 3 arch/i386/power/cpu.c | 141 ++++++ arch/i386/power/pmdisk.S | 94 ++++ arch/i386/power/swsusp.S | 94 ++++ drivers/acpi/sleep/main.c | 53 +- drivers/acpi/sleep/proc.c | 73 +++ drivers/acpi/sleep/sleep.h | 3 drivers/base/core.c | 33 - drivers/base/power/main.c | 13 drivers/base/power/power.h | 3 drivers/base/power/resume.c | 21 drivers/base/power/suspend.c | 10 include/asm-i386/suspend.h | 7 include/linux/suspend.h | 13 kernel/power/Kconfig | 92 ++++ kernel/power/Makefile | 1 kernel/power/console.c | 2 kernel/power/disk.c | 335 +++++++++++++++ kernel/power/main.c | 391 ++--------------- kernel/power/pmdisk.c | 942 +++++++++++++++++++++++++++++++++++++++++++ kernel/power/power.h | 41 - kernel/power/swsusp.c | 405 +++++++++++++----- kernel/sched.c | 4 kernel/sys.c | 7 28 files changed, 2249 insertions(+), 814 deletions(-) diff -puN arch/i386/Kconfig~test5-pm2 arch/i386/Kconfig --- 25/arch/i386/Kconfig~test5-pm2 2003-09-10 08:12:15.000000000 -0700 +++ 25-akpm/arch/i386/Kconfig 2003-09-10 08:12:15.000000000 -0700 @@ -814,49 +814,7 @@ endmenu menu "Power management options (ACPI, APM)" depends on !X86_VOYAGER -config PM - bool "Power Management support" - ---help--- - "Power Management" means that parts of your computer are shut - off or put into a power conserving "sleep" mode if they are not - being used. There are two competing standards for doing this: APM - and ACPI. If you want to use either one, say Y here and then also - to the requisite support below. - - Power Management is most important for battery powered laptop - computers; if you have a laptop, check out the Linux Laptop home - page on the WWW at - and the - Battery Powered Linux mini-HOWTO, available from - . - - Note that, even if you say N here, Linux on the x86 architecture - will issue the hlt instruction if nothing is to be done, thereby - sending the processor to sleep and saving power. - -config SOFTWARE_SUSPEND - bool "Software Suspend (EXPERIMENTAL)" - depends on EXPERIMENTAL && PM && SWAP - ---help--- - Enable the possibilty of suspendig machine. It doesn't need APM. - You may suspend your machine by 'swsusp' or 'shutdown -z