aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2020-09-17 12:39:21 -0500
committerDavid S. Miller <[email protected]>2020-09-18 17:47:07 -0700
commit2b09841c7e57c34dc11741ffd3696e91b81bcd79 (patch)
tree75b48478ea5f59fdcc3a9ee3abd48ff5f787ad39 /net/unix/sysctl_net_unix.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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions