linux/arch/powerpc
Christophe Leroy 7cb0094be4 powerpc/32s: Cleanup the mess in __set_pte_at()
__set_pte_at() handles 3 main cases with #ifdefs plus the 'percpu'
subcase which leads to code duplication.

Rewrite the function using IS_ENABLED() to minimise the total number
of cases and remove duplicated code.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/2322dd08217bccab25456fe8b189edf0e6a8b6dd.1692121353.git.christophe.leroy@csgroup.eu
2023-08-18 17:03:14 +10:00
..
boot powerpc: dts: turris1x.dts: Fix PCIe MEM size for pci2 node 2023-07-03 16:26:51 +10:00
configs powerpc/pmac32: enable serial options by default in defconfig 2023-08-14 21:54:04 +10:00
crypto powerpc/crypto: don't build aes-gcm-p10 by default 2023-08-02 22:22:18 +10:00
include powerpc/32s: Cleanup the mess in __set_pte_at() 2023-08-18 17:03:14 +10:00
kernel powerpc/ptrace: Split gpr32_set_common 2023-08-16 23:54:50 +10:00
kexec powerpc: mark more local variables as volatile 2023-08-14 21:54:04 +10:00
kvm powerpc: Make virt_to_pfn() a static inline 2023-08-16 23:54:49 +10:00
lib powerpc: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-16 23:54:48 +10:00
math-emu powerpc/math-emu: Inhibit W=1 warnings 2022-09-08 11:11:18 +10:00
mm powerpc: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-16 23:54:48 +10:00
net powerpc/bpf: populate extable entries only during the last pass 2023-05-15 15:40:31 +10:00
perf powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show affinity domain via partition information 2023-08-16 23:54:49 +10:00
platforms powerpc/8xx: Remove init_internal_rtc() to fix no previous prototype error 2023-08-18 17:03:14 +10:00
purgatory powerpc/purgatory: remove PGO flags 2023-06-12 11:31:50 -07:00
sysdev powerpc/fsl_pci: Make fsl_add_bridge() static 2023-08-18 17:03:13 +10:00
tools powerpc/64: Use -mprofile-kernel for big endian ELFv2 kernels 2023-06-14 12:46:42 +10:00
xmon powerpc: xmon: remove unused variables 2023-08-14 21:54:04 +10:00
Kbuild
Kconfig powerpc: Remove CONFIG_PCI_8260 2023-08-16 23:54:47 +10:00
Kconfig.debug powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y 2023-07-03 16:07:55 +10:00
Makefile powerpc: remove checks for binutils older than 2.25 2023-06-27 16:59:29 +10:00
Makefile.postlink kbuild: remove --include-dir MAKEFLAG from top Makefile 2023-02-05 18:51:22 +09:00