[thomas-weissschuh:b4/at-vector-size-arch 2/24] ERROR: modpost: "__bswapsi2" [fs/ecryptfs/ecryptfs.ko] undefined!

Arnd Bergmann arnd at arndb.de
Mon Jan 12 22:47:03 PST 2026


On Tue, Jan 13, 2026, at 07:13, Vineet Gupta wrote:
> On 1/12/26 19:20, kernel test robot wrote:
> Sorry my bad.
> While ARC770 cpus do support swape, it seems gcc doesn't define the 
> builtin for
> arc700 (and generates a libcall) and as Arnd mentioned we don't have 
> -mcpu=arc770.
> As a quick fix/hack we could add EXPORT_SYMBOL this in 
> arch/arc/kernel/arcksyms.c ?

I don't think that exists in the kernel, it's only in libgcc.

How about keeping the inline function, but making it unconditional?

     Arnd



More information about the linux-snps-arc mailing list