android_kernel_lge_bullhead/arch/powerpc
Masahiro Yamada aee5efcef7 libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h
[ Upstream commit a8de1304b7df30e3a14f2a8b9709bb4ff31a0385 ]

The DTC v1.5.1 added references to (U)INT32_MAX.

This is no problem for user-space programs since <stdint.h> defines
(U)INT32_MAX along with (u)int32_t.

For the kernel space, libfdt_env.h needs to be adjusted before we
pull in the changes.

In the kernel, we usually use s/u32 instead of (u)int32_t for the
fixed-width types.

Accordingly, we already have S/U32_MAX for their max values.
So, we should not add (U)INT32_MAX to <linux/limits.h> any more.

Instead, add them to the in-kernel libfdt_env.h to compile the
latest libfdt.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Change-Id: If80587175504c753007ce8080023d06e5a740cd8
2020-06-19 15:11:00 +02:00
..
boot libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h 2020-06-19 15:11:00 +02:00
configs USB: remove remaining instances of USB_SUSPEND 2013-05-15 13:44:44 -04:00
crypto crypto: add missing crypto module aliases 2015-01-29 17:40:57 -08:00
include This is the 3.10.108 stable release 2018-01-25 17:57:49 -07:00
kernel This is the 3.10.108 stable release 2018-01-25 17:57:49 -07:00
kvm KVM: PPC: Book3S PR: Fix illegal opcode emulation 2017-06-20 14:04:25 +02:00
lib powerpc: Fix emulation of mfocrf in emulate_step() 2017-11-01 22:12:43 +01:00
math-emu
mm This is the 3.10.107 stable release 2018-01-25 17:57:41 -07:00
net bpf: do not use reciprocal divide 2014-02-06 11:08:16 -08:00
oprofile
perf powerpc/perf: Fix book3s kernel to userspace backtraces 2015-07-10 10:40:22 -07:00
platforms This is the 3.10.105 stable release 2018-01-25 17:45:32 -07:00
sysdev powerpc/MSI: Fix race condition in tearing down MSI interrupts 2015-10-22 14:37:52 -07:00
xmon powerpc/xmon: Fix another endiannes issue in RTAS call from xmon 2015-02-05 22:35:36 -08:00
Kconfig locking/mutex: Disable optimistic spinning on some architectures 2014-08-15 17:22:16 -07:00
Kconfig.debug powerpc: Add an in memory udbg console 2013-05-08 06:36:49 +10:00
Makefile powerpc: Reject binutils 2.24 when building little endian 2017-06-20 14:04:49 +02:00
relocs_check.pl