Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30717
b: refs/heads/master
c: 5c31f27
h: refs/heads/master
i:
  30715: 62aa84c
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jun 28, 2006
1 parent 7f46588 commit f3275d7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 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: b762450e84e20a179ee5993b065caaad99a65fbf
refs/heads/master: 5c31f2738ab124ebc1f8948a5fc17dd7a08ed1ec
13 changes: 11 additions & 2 deletions trunk/kernel/power/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,22 @@ config PM_DEBUG

config PM_TRACE
bool "Suspend/resume event tracing"
depends on PM && PM_DEBUG && X86_32
default y
depends on PM && PM_DEBUG && X86_32 && EXPERIMENTAL
default n
---help---
This enables some cheesy code to save the last PM event point in the
RTC across reboots, so that you can debug a machine that just hangs
during suspend (or more commonly, during resume).

To use this debugging feature you should attempt to suspend the machine,
then reboot it, then run

dmesg -s 1000000 | grep 'hash matches'

CAUTION: this option will cause your machine's real-time clock to be
set to an invalid time after a resume.


config SOFTWARE_SUSPEND
bool "Software Suspend"
depends on PM && SWAP && (X86 && (!SMP || SUSPEND_SMP)) || ((FRV || PPC32) && !SMP)
Expand Down

0 comments on commit f3275d7

Please sign in to comment.