summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorPavan Chebbi <pavan.chebbi@broadcom.com>2024-06-28 22:30:05 +0300
committerDavid S. Miller <davem@davemloft.net>2024-07-01 13:23:22 +0300
commit060338390787ccbfd71f0796d420b7cd063bcac6 (patch)
treef407e8ebf4907278a4d4179483e836a06c28ac24 /scripts/lib/kdoc/kdoc_output.py
parent8aa2a79e9b95eadec5c2a97662adb5b0a8f333ad (diff)
downloadlinux-060338390787ccbfd71f0796d420b7cd063bcac6.tar.xz
bnxt_en: Remove atomic operations on ptp->tx_avail
Now that we require the spinlock to protect ptp->txts_prod, change ptp->tx_avail to non-atomic and protect it under the same spinlock. Add a new helper function bnxt_ptp_get_txts_prod() to decrement ptp->tx_avail under spinlock and return the producer. Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions