aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-07-11 22:42:58 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-12 22:40:02 +0200
commitd181b49eb3d76ed6a134cb599456176f466047c0 (patch)
tree3724cad41a0e52d0a3d935d04e34eaee5010b731 /tools/perf/scripts/python/syscall-counts.py
parentPM / Hibernate: Print hibernation/thaw progress indicator one line at a time. (diff)
downloadlinux-dev-d181b49eb3d76ed6a134cb599456176f466047c0.tar.xz
linux-dev-d181b49eb3d76ed6a134cb599456176f466047c0.zip
PM / Sleep: Fix build warning in sysfs.c for CONFIG_PM_SLEEP unset
The power/async device sysfs attribute is only used if both CONFIG_PM_ADVANCED_DEBUG and CONFIG_PM_SLEEP are set, but the code implementing it doesn't depend on CONFIG_PM_SLEEP. As a result, a build warning appears if CONFIG_PM_ADVANCED_DEBUG is set and CONFIG_PM_SLEEP is not set. Fix it by adding a #ifdef CONFIG_PM_SLEEP around the code in question. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions