aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2021-03-18 13:59:28 -0500
committerDavid S. Miller <[email protected]>2021-03-18 16:20:34 -0700
commit3c54b7be5d3677f37dfcd68afcc1d8e2b677a5b9 (patch)
tree4baac6bc06cb7ab93b15fc675e2e8a0edec6d461 /tools/perf/scripts/python
parentd2fd2311de909a7f4e99b4bd11a19e6b671d6a6b (diff)
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 <[email protected]> Signed-off-by: Alex Elder <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions