summaryrefslogtreecommitdiff
path: root/mm/vmstat.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2020-09-17 12:39:21 -0500
committerDavid S. Miller <davem@davemloft.net>2020-09-18 17:47:07 -0700
commit2b09841c7e57c34dc11741ffd3696e91b81bcd79 (patch)
tree75b48478ea5f59fdcc3a9ee3abd48ff5f787ad39 /mm/vmstat.c
parent0305b709906e755d7fbdeccd9c2539442ebd1ead (diff)
net: ipa: replace ipa->suspend_ref with a flag bit
We take a clock reference in ipa_config() in order to prevent the the IPA clock from being shutdown until a power management suspend request arrives. An atomic field in the IPA structure records whether that extra reference had been taken. Rather than using an atomic to represent a Boolean value, define a new flags bitmap, and define a "clock held" flag to represent whether the extra clock reference has been taken. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions