aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/Kconfig
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-05-05 15:57:20 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-05-11 15:11:02 -0400
commitc73893e2ca731b4a81ae59246ab57979aa188777 (patch)
treebec6c0253b848ea658acb72de6bfd86e707bc798 /kernel/power/Kconfig
parent6237dd132d4eb408ffa80830fe395448e5657ab0 (diff)
PM / Sleep: Make the limit of user space wakeup sources configurable
Make it possible to configure out the check against the limit of user space wakeup sources for debugging and default Android builds. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'kernel/power/Kconfig')
-rw-r--r--kernel/power/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 1d534076d33a..08783eda9ce4 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -119,6 +119,12 @@ config PM_WAKELOCKS
119 Allow user space to create, activate and deactivate wakeup source 119 Allow user space to create, activate and deactivate wakeup source
120 objects with the help of a sysfs-based interface. 120 objects with the help of a sysfs-based interface.
121 121
122config PM_WAKELOCKS_LIMIT
123 int "Maximum number of user space wakeup sources (0 = no limit)"
124 range 0 100000
125 default 100
126 depends on PM_WAKELOCKS
127
122config PM_RUNTIME 128config PM_RUNTIME
123 bool "Run-time PM core functionality" 129 bool "Run-time PM core functionality"
124 depends on !IA64_HP_SIM 130 depends on !IA64_HP_SIM