summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/pgtable_64.c
diff options
context:
space:
mode:
authorYang Guang <yang.guang5@zte.com.cn>2021-12-18 09:59:17 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2021-12-20 12:01:21 +1100
commita605b39e8ef703828b9e26750ea1925a6a5ef848 (patch)
tree0a33c4e6ec1641ce9ed69664d3107fdc1c675861 /arch/powerpc/mm/pgtable_64.c
parent2fe4ca6ad7f6a0b98f97c498320051e5066e4b95 (diff)
downloadlinux-stable-a605b39e8ef703828b9e26750ea1925a6a5ef848.tar.gz
linux-stable-a605b39e8ef703828b9e26750ea1925a6a5ef848.tar.bz2
linux-stable-a605b39e8ef703828b9e26750ea1925a6a5ef848.zip
powerpc: use swap() to make code cleaner
Use the macro 'swap()' defined in 'include/linux/minmax.h' to avoid opencoding it. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: David Yang <davidcomponentone@gmail.com> Signed-off-by: Yang Guang <yang.guang5@zte.com.cn> [mpe: Add include of linux/minmax.h] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/71a702c2189b16c152affd8a8cda1d84ce32741c.1639792543.git.yang.guang5@zte.com.cn
Diffstat (limited to 'arch/powerpc/mm/pgtable_64.c')
0 files changed, 0 insertions, 0 deletions