Commit ffe3d1e4 authored by Miles Chen's avatar Miles Chen Committed by Will Deacon

arm64: use linux/sizes.h for constants

Use linux/size.h to improve code readability.
Signed-off-by: default avatarMiles Chen <miles.chen@mediatek.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 76624175
...@@ -407,7 +407,7 @@ unsigned long arch_align_stack(unsigned long sp) ...@@ -407,7 +407,7 @@ unsigned long arch_align_stack(unsigned long sp)
unsigned long arch_randomize_brk(struct mm_struct *mm) unsigned long arch_randomize_brk(struct mm_struct *mm)
{ {
if (is_compat_task()) if (is_compat_task())
return randomize_page(mm->brk, 0x02000000); return randomize_page(mm->brk, SZ_32M);
else else
return randomize_page(mm->brk, 0x40000000); return randomize_page(mm->brk, SZ_1G);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment