summaryrefslogtreecommitdiff
path: root/net/wireless/radiotap.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-08-08 23:43:14 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2011-08-25 15:33:43 +0200
commit3c07cbc488bfd1ad1abf64d09cc692339b5f8a83 (patch)
treed53a2a9a3635092f289b66dabcbac0fbcefe8d50 /net/wireless/radiotap.c
parentc4bb3160c8823d3a1e581d7e05fb8b343097e7c8 (diff)
downloadlinux-next-3c07cbc488bfd1ad1abf64d09cc692339b5f8a83.tar.gz
PM / Domains: Do not take parent locks to modify subdomain counters
After the subdomain counter in struct generic_pm_domain has been changed into an atomic_t field, it is possible to modify pm_genpd_poweron() and pm_genpd_poweroff() so that they don't take the parents locks. This requires pm_genpd_poweron() to increment the parent's subdomain counter before calling itself recursively for the parent and to decrement it if an error is to be returned. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'net/wireless/radiotap.c')
0 files changed, 0 insertions, 0 deletions