linux-stable/arch/xtensa/lib
Randy Dunlap 9aecda97ec xtensa: umulsidi3: fix conditional expression
Even when a variant has one or more of these defines set to 1, the
multiplier code paths are not used. Change the expression so that the
correct code paths are used.

arch/xtensa/lib/umulsidi3.S:44:38: warning: "XCHAL_NO_MUL" is not defined, evaluates to 0 [-Wundef]
   44 | #if defined(__XTENSA_CALL0_ABI__) && XCHAL_NO_MUL
arch/xtensa/lib/umulsidi3.S:145:38: warning: "XCHAL_NO_MUL" is not defined, evaluates to 0 [-Wundef]
  145 | #if defined(__XTENSA_CALL0_ABI__) && XCHAL_NO_MUL
arch/xtensa/lib/umulsidi3.S:159:5: warning: "XCHAL_NO_MUL" is not defined, evaluates to 0 [-Wundef]
  159 | #if XCHAL_NO_MUL

Fixes: 8939c58d68 ("xtensa: add __umulsidi3 helper")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20230920052139.10570-16-rdunlap@infradead.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2023-09-20 05:03:22 -07:00
..
ashldi3.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
ashrdi3.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
bswapdi2.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
bswapsi2.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
checksum.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
divsi3.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
lshrdi3.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
Makefile powerpc updates for 6.5 2023-06-30 09:20:08 -07:00
memcopy.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
memset.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
modsi3.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
mulsi3.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
pci-auto.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
strncpy_user.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
strnlen_user.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
udivsi3.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
umodsi3.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00
umulsidi3.S xtensa: umulsidi3: fix conditional expression 2023-09-20 05:03:22 -07:00
usercopy.S xtensa: add asm-prototypes.h 2023-06-12 19:48:57 -07:00