diff options
| author | Alex Elder <[email protected]> | 2021-03-18 13:59:28 -0500 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-18 16:20:34 -0700 |
| commit | 3c54b7be5d3677f37dfcd68afcc1d8e2b677a5b9 (patch) | |
| tree | 4baac6bc06cb7ab93b15fc675e2e8a0edec6d461 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d2fd2311de909a7f4e99b4bd11a19e6b671d6a6b (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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions