aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/libfdt_env.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/boot/libfdt_env.h')
-rw-r--r--arch/powerpc/boot/libfdt_env.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/libfdt_env.h b/arch/powerpc/boot/libfdt_env.h
index 2a0c8b1bf147..2abc8e83b95e 100644
--- a/arch/powerpc/boot/libfdt_env.h
+++ b/arch/powerpc/boot/libfdt_env.h
@@ -5,6 +5,8 @@
#include <types.h>
#include <string.h>
+#define INT_MAX ((int)(~0U>>1))
+
#include "of.h"
typedef unsigned long uintptr_t;