Not sure we should actually *do* this, and if we did it'd be done differently. But... Fengguang, please could you add this (from git://git.infradead.org/users/dwmw2/byteswap.git ) and we can see what breaks? Thanks. I know MIPS will need some additional libgcc functionality brought into the kernel, and Ralf has already been looking at that; not sure about other platforms. Let's find out :) Subject: [PATCH] TEST COMMIT: Enable CONFIG_ARCH_USE_BUILTIN_BSWAP for all architectures Let's see what breaks... Signed-off-by: David Woodhouse <David.Woodhouse@xxxxxxxxx> --- arch/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/Kconfig b/arch/Kconfig index 4e949e5..8680d1b 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -144,6 +144,7 @@ config HAVE_EFFICIENT_UNALIGNED_ACCESS config ARCH_USE_BUILTIN_BSWAP bool + default y help Modern versions of GCC (since 4.4) have builtin functions for handling byte-swapping. Using these, instead of the old -- 2.4.3 -- David Woodhouse Open Source Technology Centre David.Woodhouse@xxxxxxxxx Intel Corporation
Attachment:
smime.p7s
Description: S/MIME cryptographic signature