Files
linux-stable-mirror/arch/xtensa/include/asm
Max FilippovandGreg Kroah-Hartman b4e666fa38 xtensa: add default definition for XCHAL_HAVE_DIV32
[ Upstream commit 494e87ffa0 ]

When variant FSF is set, XCHAL_HAVE_DIV32 is not defined. Add default
definition for that macro to prevent build warnings:

arch/xtensa/lib/divsi3.S:9:5: warning: "XCHAL_HAVE_DIV32" is not defined, evaluates to 0 [-Wundef]
    9 | #if XCHAL_HAVE_DIV32
arch/xtensa/lib/modsi3.S:9:5: warning: "XCHAL_HAVE_DIV32" is not defined, evaluates to 0 [-Wundef]
    9 | #if XCHAL_HAVE_DIV32

Fixes: 173d668138 ("xtensa: remove extra header files")
Suggested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: lore.kernel.org/r/202309150556.t0yCdv3g-lkp@intel.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-06 14:56:48 +02:00
..
2022-02-25 09:36:06 +01:00
2022-05-01 19:51:22 -07:00
2022-05-01 19:51:22 -07:00
2021-11-17 10:36:15 -05:00
2021-12-11 23:31:51 +01:00
2022-06-28 13:20:21 +02:00
2022-07-17 17:14:44 -07:00
2022-07-17 17:14:44 -07:00
2022-05-01 19:51:23 -07:00
2022-02-25 09:36:06 +01:00