From: Miles Chen Date: Thu, 9 Feb 2017 01:52:03 +0000 (+0800) Subject: arm64: use linux/sizes.h for constants X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ffe3d1e43cc01457d513bf6e13605ebe8ae0fd9a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: use linux/sizes.h for constants Use linux/size.h to improve code readability. Signed-off-by: Miles Chen Signed-off-by: Will Deacon --- diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c index 0b07d42819da..1ad48f93abdd 100644 --- a/arch/arm64/kernel/process.c +++ b/arch/arm64/kernel/process.c @@ -407,7 +407,7 @@ unsigned long arch_align_stack(unsigned long sp) unsigned long arch_randomize_brk(struct mm_struct *mm) { if (is_compat_task()) - return randomize_page(mm->brk, 0x02000000); + return randomize_page(mm->brk, SZ_32M); else - return randomize_page(mm->brk, 0x40000000); + return randomize_page(mm->brk, SZ_1G); }