diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2023-09-20 04:15:22 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2023-09-20 04:56:41 -0700 |
commit | 494e87ffa0159b3f879694a9231089707792a44d (patch) | |
tree | 3bfd7c0e5134f64afdb042b879a8c3c63a08bfb4 /lib | |
parent | ce9ecca0238b140b88f43859b211c9fdfd8e5b70 (diff) |
xtensa: add default definition for XCHAL_HAVE_DIV32
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: 173d6681380a ("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
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions