linux/arch/powerpc/platforms/powermac
Yang Guang a605b39e8e 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
2021-12-20 12:01:21 +11:00
..
backlight.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
bootx_init.c powerpc: Remove klimit 2021-06-25 00:07:10 +10:00
cache.S powerpc/powermac: Blacklist functions running with MMU disabled for kprobe 2020-06-02 20:59:09 +10:00
feature.c powerpc: Use fallthrough pseudo-keyword 2020-07-29 21:09:37 +10:00
Kconfig powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
low_i2c.c powerpc/powermac: Add additional missing lockdep_register_key() 2021-12-09 22:41:22 +11:00
Makefile kbuild: remove cc-option test of -fno-stack-protector 2020-07-07 11:13:10 +09:00
nvram.c powerpc: Replace zero-length array with flexible-array 2020-05-15 11:58:54 +10:00
pci.c powerpc/pci: Move PHB discovery for PCI_DN using platforms 2021-02-09 00:01:05 +11:00
pfunc_base.c powerpc: use for_each_child_of_node() macro 2020-07-29 22:30:33 +10:00
pfunc_core.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
pic.c powerpc: use swap() to make code cleaner 2021-12-20 12:01:21 +11:00
pmac.h powerpc: Remove unused prototype for of_show_percpuinfo 2021-10-09 00:15:58 +11:00
setup.c powerpc/powermac: Remove stale declaration of pmac_md 2021-10-09 00:15:58 +11:00
sleep.S powerpc/powermac: Fix low_sleep_handler with CONFIG_VMAP_STACK 2020-12-08 21:41:03 +11:00
smp.c powerpc/smp: Fix fall-through warning for Clang 2021-07-14 11:10:40 -05:00
time.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
udbg_adb.c powerpc: Use device_type helpers to access the node type 2018-11-26 22:33:37 +11:00
udbg_scc.c powerpc: use for_each_child_of_node() macro 2020-07-29 22:30:33 +10:00