summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-03-18 21:59:28 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-19 02:20:34 +0300
commit3c54b7be5d3677f37dfcd68afcc1d8e2b677a5b9 (patch)
tree4baac6bc06cb7ab93b15fc675e2e8a0edec6d461 /tools/perf/scripts/python/netdev-times.py
parentd2fd2311de909a7f4e99b4bd11a19e6b671d6a6b (diff)
downloadlinux-3c54b7be5d3677f37dfcd68afcc1d8e2b677a5b9.tar.xz
net: ipa: use upper_32_bits()
Use upper_32_bits() to extract the high-order 32 bits of a DMA address. This avoids doing a 32-position shift on a DMA address if it happens not to be 64 bits wide. Use lower_32_bits() to extract the low-order 32 bits (because that's what it's for). Suggested-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Alex Elder <elder@linaro.org> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions