linux-stable/arch/sh/lib
Geert Uytterhoeven 8bc6666f13 sh: Use generic GCC library routines
The C implementations of __ashldi3(), __ashrdi3__(), and __lshrdi3() in
arch/sh/lib/ are identical to the generic C implementations in lib/.
Reduce duplication by switching SH to the generic versions.

Update the include path in arch/sh/boot/compressed accordingly.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/74dbe68dc8e2ffb6180092f73723fe21ab692c7a.1679566500.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2023-04-25 09:16:47 +02:00
..
Makefile sh: Use generic GCC library routines 2023-04-25 09:16:47 +02:00
__clear_user.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ashiftrt.S sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
ashlsi3.S sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
ashrsi3.S sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
checksum.S sh: propage the calling conventions change down to csum_partial_copy_generic() 2020-08-20 15:45:18 -04:00
copy_page.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
delay.c Revert "sh: add missing EXPORT_SYMBOL() for __delay" 2020-08-14 22:05:04 -04:00
div64-generic.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
div64.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
io.c sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
libgcc.h sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
lshrsi3.S sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
mcount.S sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
memchr.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
memcpy-sh4.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
memcpy.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
memmove.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
memset-sh4.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
memset.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
movmem.S sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
strlen.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
udiv_qrnnd.S sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
udivsi3.S sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
udivsi3_i4i-Os.S sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
udivsi3_i4i.S sh: lib: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00