diff options
author | Helge Deller <deller@kernel.org> | 2024-01-28 11:53:55 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-29 05:29:23 +0300 |
commit | eba38cc7578bef94865341c73608bdf49193a51d (patch) | |
tree | 2abf099030a1bff74497ff6b7bf2c3b21201d8df /init | |
parent | d2fda304bb739b97c1a3e46e39700eb49f07a62c (diff) | |
download | linux-eba38cc7578bef94865341c73608bdf49193a51d.tar.xz |
bcachefs: Fix build on parisc by avoiding __multi3()
The gcc compiler on paric does support the __int128 type, although the
architecture does not have native 128-bit support.
The effect is, that the bcachefs u128_square() function will pull in the
libgcc __multi3() helper, which breaks the kernel build when bcachefs is
built as module since this function isn't currently exported in
arch/parisc/kernel/parisc_ksyms.c.
The build failure can be seen in the latest debian kernel build at:
https://buildd.debian.org/status/fetch.php?pkg=linux&arch=hppa&ver=6.7.1-1%7Eexp1&stamp=1706132569&raw=0
We prefer to not export that symbol, so fall back to the optional 64-bit
implementation provided by bcachefs and thus avoid usage of __multi3().
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions