mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
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/[email protected]
Fixes: 101110f627 ("Kbuild: always define endianess in kconfig.h")
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
8 lines
148 B
C
8 lines
148 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __H8300_BYTEORDER_H__
|
|
#define __H8300_BYTEORDER_H__
|
|
|
|
#include <linux/byteorder/big_endian.h>
|
|
|
|
#endif
|