android_kernel_lge_bullhead/arch
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
..
alpha Merge remote-tracking branch 'android-linux-stable/android-msm-bullhead-3.10' into lineage-16.0 2019-07-11 15:28:52 +02:00
arc This is the 3.10.107 stable release 2018-01-25 17:57:41 -07:00
arm libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h 2020-06-19 15:11:00 +02:00
arm64 Early mount via DTS because of SAR 2020-06-19 14:50:13 +02:00
avr32 This is the 3.10.105 stable release 2018-01-25 17:45:32 -07:00
blackfin This is the 3.10.105 stable release 2018-01-25 17:45:32 -07:00
c6x This is the 3.10.107 stable release 2018-01-25 17:57:41 -07:00
cris This is the 3.10.106 stable release 2018-01-25 17:54:29 -07:00
frv This is the 3.10.107 stable release 2018-01-25 17:57:41 -07:00
h8300
hexagon This is the 3.10.105 stable release 2018-01-25 17:45:32 -07:00
ia64 This is the 3.10.105 stable release 2018-01-25 17:45:32 -07:00
m32r lib/decompressors: use real out buf size for gunzip with kernel 2019-08-26 17:03:29 +02:00
m68k This is the 3.10.106 stable release 2018-01-25 17:54:29 -07:00
metag This is the 3.10.107 stable release 2018-01-25 17:57:41 -07:00
microblaze This is the 3.10.105 stable release 2018-01-25 17:45:32 -07:00
mips lib/decompressors: use real out buf size for gunzip with kernel 2019-08-26 17:03:29 +02:00
mn10300 This is the 3.10.105 stable release 2018-01-25 17:45:32 -07:00
openrisc This is the 3.10.105 stable release 2018-01-25 17:45:32 -07:00
parisc Merge remote-tracking branch 'android-linux-stable/android-msm-bullhead-3.10' into lineage-16.0 2019-07-11 15:28:52 +02:00
powerpc libfdt: define INT32_MAX and UINT32_MAX in libfdt_env.h 2020-06-19 15:11:00 +02:00
s390 lib/decompressors: use real out buf size for gunzip with kernel 2019-08-26 17:03:29 +02:00
score This is the 3.10.105 stable release 2018-01-25 17:45:32 -07:00
sh lib/decompressors: use real out buf size for gunzip with kernel 2019-08-26 17:03:29 +02:00
sparc Merge remote-tracking branch 'android-linux-stable/android-msm-bullhead-3.10' into lineage-16.0 2019-07-11 15:28:52 +02:00
tile This is the 3.10.107 stable release 2018-01-25 17:57:41 -07:00
um This is the 3.10.99 stable release 2018-01-25 17:22:39 -07:00
unicore32 lib/decompressors: use real out buf size for gunzip with kernel 2019-08-26 17:03:29 +02:00
x86 lib/decompressors: use real out buf size for gunzip with kernel 2019-08-26 17:03:29 +02:00
xtensa This is the 3.10.107 stable release 2018-01-25 17:57:41 -07:00
.gitignore
Kconfig FROMLIST: mm: mmap: Add new /proc tunable for mmap_base ASLR. 2016-01-14 11:48:20 -08:00