diff mbox series

riscv: export __lshrti3

Message ID 20191217003057.39300-1-olof@lixom.net (mailing list archive)
State New, archived
Headers show
Series riscv: export __lshrti3 | expand

Commit Message

Olof Johansson Dec. 17, 2019, 12:30 a.m. UTC
ARM64 exports it already, and recently it started showing up as needed
with allmodconfig.

To keep things building as expected, let's export on riscv as well.

Signed-off-by: Olof Johansson <olof@lixom.net>
---

It'd be nice to see this go in through 5.5-rc, since the breakage showed
up this merge window. It was triggered by ce5c31db3645 ("lib/ubsan:
don't serialize UBSAN report"), but I think that was just coincidental.

 arch/riscv/lib/tishift.S | 1 +
 1 file changed, 1 insertion(+)

Comments

Olof Johansson Dec. 17, 2019, 1:54 a.m. UTC | #1
On Mon, Dec 16, 2019 at 4:31 PM Olof Johansson <olof@lixom.net> wrote:
>
> ARM64 exports it already, and recently it started showing up as needed
> with allmodconfig.
>
> To keep things building as expected, let's export on riscv as well.
>
> Signed-off-by: Olof Johansson <olof@lixom.net>
> ---
>
> It'd be nice to see this go in through 5.5-rc, since the breakage showed
> up this merge window. It was triggered by ce5c31db3645 ("lib/ubsan:
> don't serialize UBSAN report"), but I think that was just coincidental.

Nevermind, I built the wrong config when I tested this. Need to pick
up some of the generic helpers also. Posting new patch separately.


-Olof



-Olof
diff mbox series

Patch

diff --git a/arch/riscv/lib/tishift.S b/arch/riscv/lib/tishift.S
index 15f9d54c7db63..8ecb7db331cfe 100644
--- a/arch/riscv/lib/tishift.S
+++ b/arch/riscv/lib/tishift.S
@@ -35,3 +35,4 @@  ENTRY(__lshrti3)
 	addi	sp,sp,16
 	ret
 ENDPROC(__lshrti3)
+EXPORT_SYMBOL(__lshrti3)