diff options
-rw-r--r-- | drivers/base/power/Makefile | 2 | ||||
-rw-r--r-- | kernel/power/Kconfig | 17 |
2 files changed, 13 insertions, 6 deletions
diff --git a/drivers/base/power/Makefile b/drivers/base/power/Makefile index fff178007208..966a5e287415 100644 --- a/drivers/base/power/Makefile +++ b/drivers/base/power/Makefile | |||
@@ -5,6 +5,6 @@ obj-$(CONFIG_PM_TRACE) += trace.o | |||
5 | ifeq ($(CONFIG_DEBUG_DRIVER),y) | 5 | ifeq ($(CONFIG_DEBUG_DRIVER),y) |
6 | EXTRA_CFLAGS += -DDEBUG | 6 | EXTRA_CFLAGS += -DDEBUG |
7 | endif | 7 | endif |
8 | ifeq ($(CONFIG_PM_DEBUG),y) | 8 | ifeq ($(CONFIG_PM_VERBOSE),y) |
9 | EXTRA_CFLAGS += -DDEBUG | 9 | EXTRA_CFLAGS += -DDEBUG |
10 | endif | 10 | endif |
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 73328476761c..7358609e4735 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
@@ -33,13 +33,20 @@ config PM_DEBUG | |||
33 | bool "Power Management Debug Support" | 33 | bool "Power Management Debug Support" |
34 | depends on PM | 34 | depends on PM |
35 | ---help--- | 35 | ---help--- |
36 | This option enables verbose debugging support in the Power Management | 36 | This option enables various debugging support in the Power Management |
37 | code. This is helpful when debugging and reporting various PM bugs, | 37 | code. This is helpful when debugging and reporting PM bugs, like |
38 | like suspend support. | 38 | suspend support. |
39 | |||
40 | config PM_VERBOSE | ||
41 | bool "Verbose Power Management debugging" | ||
42 | depends on PM_DEBUG | ||
43 | default n | ||
44 | ---help--- | ||
45 | This option enables verbose messages from the Power Management code. | ||
39 | 46 | ||
40 | config DISABLE_CONSOLE_SUSPEND | 47 | config DISABLE_CONSOLE_SUSPEND |
41 | bool "Keep console(s) enabled during suspend/resume (DANGEROUS)" | 48 | bool "Keep console(s) enabled during suspend/resume (DANGEROUS)" |
42 | depends on PM && PM_DEBUG | 49 | depends on PM_DEBUG |
43 | default n | 50 | default n |
44 | ---help--- | 51 | ---help--- |
45 | This option turns off the console suspend mechanism that prevents | 52 | This option turns off the console suspend mechanism that prevents |
@@ -50,7 +57,7 @@ config DISABLE_CONSOLE_SUSPEND | |||
50 | 57 | ||
51 | config PM_TRACE | 58 | config PM_TRACE |
52 | bool "Suspend/resume event tracing" | 59 | bool "Suspend/resume event tracing" |
53 | depends on PM && PM_DEBUG && X86_32 && EXPERIMENTAL | 60 | depends on PM_DEBUG && X86_32 && EXPERIMENTAL |
54 | default n | 61 | default n |
55 | ---help--- | 62 | ---help--- |
56 | This enables some cheesy code to save the last PM event point in the | 63 | This enables some cheesy code to save the last PM event point in the |