Skip to content

Commit 1705f7c

Browse files
arndbtorvalds
authored andcommitted
h8300: remove extraneous __BIG_ENDIAN definition
A bugfix I did earlier caused a build regression on h8300, which defines the __BIG_ENDIAN macro in a slightly different way than the generic code: arch/h8300/include/asm/byteorder.h:5:0: warning: "__BIG_ENDIAN" redefined We don't need to define it here, as the same macro is already provided by the linux/byteorder/big_endian.h, and that version does not conflict. While this is a v4.16 regression, my earlier patch also got backported to the 4.14 and 4.15 stable kernels, so we need the fixup there as well. Link: http://lkml.kernel.org/r/20180313120752.2645129-1-arnd@arndb.de Fixes: 101110f ("Kbuild: always define endianess in kconfig.h") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 63489f8 commit 1705f7c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/h8300/include/asm/byteorder.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#ifndef __H8300_BYTEORDER_H__
33
#define __H8300_BYTEORDER_H__
44

5-
#define __BIG_ENDIAN __ORDER_BIG_ENDIAN__
65
#include <linux/byteorder/big_endian.h>
76

87
#endif

0 commit comments

Comments
 (0)