linux/arch/arc
Thomas Weißschuh b4171fd0b0 ARC: Always use SWAPE instructions for __arch_swab32()
Since commit 67a697e7576 ("ARC: retire ARC750 support") all supported
CPUs have the 'swape' instruction.

Always use the implementation of __arch_swabe() which uses 'swape'.
ARCH_USE_BUILTIN_BSWAP can not be used as that results on libcalls on
-mcpu=arc700.

As as side-effect, remove a leak of an internal kconfig symbol through
the UAPI headers.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/lkml/0ae2688a-5a22-405b-adaf-9b5ad712b245@app.fastmail.com/
Suggested-by: Vineet Gupta <vgupta@kernel.org>
Link: https://lore.kernel.org/lkml/a033a402-e3c5-4982-9fff-b6a4c55817ae@kernel.org/
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2026-01-30 16:46:17 +01:00
..
boot ARC: migrate to the generic rule for built-in DTB 2025-01-18 08:52:09 +09:00
configs Use CONFIG_EXT4_FS instead of CONFIG_EXT3_FS in all of the defconfigs 2025-10-13 21:50:40 -04:00
include ARC: Always use SWAPE instructions for __arch_swab32() 2026-01-30 16:46:17 +01:00
kernel Scheduler updates for v6.18: 2025-09-30 10:35:11 -07:00
lib
mm mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
net ARC: bpf: Correct conditional check in 'check_jmp_32' 2024-12-10 10:12:56 -08:00
plat-axs10x
plat-hsdk
plat-sim
plat-tb10x
Kbuild
Kconfig ARC: Always use SWAPE instructions for __arch_swab32() 2026-01-30 16:46:17 +01:00
Kconfig.debug
Makefile ARC: Always use SWAPE instructions for __arch_swab32() 2026-01-30 16:46:17 +01:00