diff options
author | 2021-08-25 11:33:48 -0400 | |
---|---|---|
committer | 2021-08-26 09:42:48 +0100 | |
commit | e9ae220d3f6f8f44250b83c6c332733fcae639fd (patch) | |
tree | 9a8b5d169d83296fa92a586667a17206e1d60dd3 /include/linux/shrinker.h | |
parent | Merge tag 'drm-misc-intel-oob-hotplug-v1' of git://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux into drm-misc-next (diff) | |
download | wireguard-linux-e9ae220d3f6f8f44250b83c6c332733fcae639fd.tar.xz wireguard-linux-e9ae220d3f6f8f44250b83c6c332733fcae639fd.zip |
drm/panfrost: Use upper/lower_32_bits helpers
Use upper_32_bits/lower_32_bits helpers instead of open-coding them.
This is easier to scan quickly compared to bitwise manipulation, and it
is pleasingly symmetric. I noticed this when debugging lock_region,
which had a particularly "creative" way of writing upper_32_bits.
v2: Use helpers for one more call site and add review tag (Steven).
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Rob Herring <robh@kernel.org> (v1)
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210825153348.4980-1-alyssa.rosenzweig@collabora.com
Diffstat (limited to 'include/linux/shrinker.h')
0 files changed, 0 insertions, 0 deletions