summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2021-10-04 17:19:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-25 09:48:31 +0100
commit3d937f901cea25765a3dea5f54c4a04322790f6e (patch)
treed5cd475eef8e1c1f59690980664128234f9ba50c /fs/f2fs
parentd21ad7abba7564338e1ee92ce47119881c298626 (diff)
downloadlinux-stable-3d937f901cea25765a3dea5f54c4a04322790f6e.tar.gz
linux-stable-3d937f901cea25765a3dea5f54c4a04322790f6e.tar.bz2
linux-stable-3d937f901cea25765a3dea5f54c4a04322790f6e.zip
sh: define __BIG_ENDIAN for math-emu
[ Upstream commit b929926f01f2d14635345d22eafcf60feed1085e ] Fix this by defining both ENDIAN macros in <asm/sfp-machine.h> so that they can be utilized in <math-emu/soft-fp.h> according to the latter's comment: /* Allow sfp-machine to have its own byte order definitions. */ (This is what is done in arch/nds32/include/asm/sfp-machine.h.) This placates these build warnings: In file included from ../arch/sh/math-emu/math.c:23: .../include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined, evaluates to 0 [-Wundef] 50 | #if __BYTE_ORDER == __BIG_ENDIAN In file included from ../arch/sh/math-emu/math.c:24: .../include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined, evaluates to 0 [-Wundef] 59 | #if __BYTE_ORDER == __BIG_ENDIAN Fixes: 4b565680d163 ("sh: math-emu support") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: Rich Felker <dalias@libc.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions