diff options
Diffstat (limited to 'arch/powerpc/boot/libfdt_env.h')
-rw-r--r-- | arch/powerpc/boot/libfdt_env.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/libfdt_env.h b/arch/powerpc/boot/libfdt_env.h index f52c31b1f48f..39155d3b2cef 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 u32 uint32_t; |