mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
arm64: use linux/sizes.h for constants
Use linux/size.h to improve code readability. Signed-off-by: Miles Chen <miles.chen@mediatek.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
This commit is contained in:
parent
76624175dc
commit
ffe3d1e43c
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue