Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82385
b: refs/heads/master
c: f4cb570
h: refs/heads/master
i:
  82383: 20f0ae3
v: v3
  • Loading branch information
Johannes Berg authored and Len Brown committed Feb 1, 2008
1 parent 52e4d40 commit 64c54ea
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 801e4062fda6496fe9bee3e6915a2aa108f974e5
refs/heads/master: f4cb57007662a4ec3c2de3c027900223e0299bdd
3 changes: 3 additions & 0 deletions trunk/arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,9 @@ menu "Power management options"

source "kernel/power/Kconfig"

config ARCH_SUSPEND_POSSIBLE
def_bool y

endmenu

source "net/Kconfig"
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,10 @@ endmenu
menu "Power management options"
source "kernel/power/Kconfig"

config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on !SMP

choice
prompt "Select PM Wakeup Event Source"
default PM_WAKEUP_GPIO_BY_SIC_IWR
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/frv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@ source "drivers/pcmcia/Kconfig"
# should probably wait a while.

menu "Power management options"

config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on !SMP

source kernel/power/Kconfig
endmenu

Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2086,6 +2086,10 @@ endmenu

menu "Power management options"

config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on !SMP

source "kernel/power/Kconfig"

endmenu
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ config ARCH_HIBERNATION_POSSIBLE
depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32)
default y

config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200

config PPC_DCR_NATIVE
bool
default n
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/sh/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,10 @@ endmenu
menu "Power management options (EXPERIMENTAL)"
depends on EXPERIMENTAL && SYS_SUPPORTS_PM

config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on !SMP

source kernel/power/Kconfig

endmenu
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ config ARCH_HIBERNATION_POSSIBLE
def_bool y
depends on !SMP || !X86_VOYAGER

config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on !X86_VOYAGER

config ZONE_DMA32
bool
default X86_64
Expand Down
21 changes: 3 additions & 18 deletions trunk/kernel/power/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ config PM_TRACE_RTC
config PM_SLEEP_SMP
bool
depends on SMP
depends on SUSPEND_SMP_POSSIBLE || ARCH_HIBERNATION_POSSIBLE
depends on ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE
depends on PM_SLEEP
select HOTPLUG_CPU
default y
Expand All @@ -95,29 +95,14 @@ config PM_SLEEP
depends on SUSPEND || HIBERNATION
default y

config SUSPEND_UP_POSSIBLE
bool
depends on (X86 && !X86_VOYAGER) || PPC || ARM || BLACKFIN || MIPS \
|| SUPERH || FRV
depends on !SMP
default y

config SUSPEND_SMP_POSSIBLE
bool
depends on (X86 && !X86_VOYAGER) \
|| (PPC && (PPC_PSERIES || PPC_PMAC)) || ARM
depends on SMP
default y

config SUSPEND
bool "Suspend to RAM and standby"
depends on PM
depends on SUSPEND_UP_POSSIBLE || SUSPEND_SMP_POSSIBLE
depends on PM && ARCH_SUSPEND_POSSIBLE
default y
---help---
Allow the system to enter sleep states in which main memory is
powered and thus its contents are preserved, such as the
suspend-to-RAM state (i.e. the ACPI S3 state).
suspend-to-RAM state (e.g. the ACPI S3 state).

config HIBERNATION
bool "Hibernation (aka 'suspend to disk')"
Expand Down

0 comments on commit 64c54ea

Please sign in to comment.