diff options
author | Miles Chen <miles.chen@mediatek.com> | 2017-02-09 09:52:03 +0800 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-02-09 11:39:20 +0000 |
commit | ffe3d1e43cc01457d513bf6e13605ebe8ae0fd9a (patch) | |
tree | 4353723c1ef6d5d7f5df6856867c17940b1103da /arch/arm64 | |
parent | 76624175dcae6f7a808d345c0592908a15ca6975 (diff) | |
download | linux-rpi3-ffe3d1e43cc01457d513bf6e13605ebe8ae0fd9a.tar.gz linux-rpi3-ffe3d1e43cc01457d513bf6e13605ebe8ae0fd9a.tar.bz2 linux-rpi3-ffe3d1e43cc01457d513bf6e13605ebe8ae0fd9a.zip |
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>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/kernel/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |