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

"Arnd Bergmann" <[email protected]>
Newsgroups org.infradead.lists.linux-snps-arc,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
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

_______________________________________________
linux-snps-arc mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.