summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/lib/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index be1259bbff..252946ce5a 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -89,7 +89,7 @@ static int get_kernel_addresses(size_t image_size,
*/
image_decomp_size = PAGE_ALIGN(image_size * 5);
if (mem_size >= SZ_64M)
- image_decomp_size = max(image_decomp_size, SZ_32M);
+ image_decomp_size = max_t(size_t, image_decomp_size, SZ_32M);
/*
* By default put oftree/initrd close behind compressed kernel image to