projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7662417
)
arm64: use linux/sizes.h for constants
author
Miles Chen
<miles.chen@mediatek.com>
Thu, 9 Feb 2017 01:52:03 +0000
(09:52 +0800)
committer
Will Deacon
<will.deacon@arm.com>
Thu, 9 Feb 2017 11:39:20 +0000
(11:39 +0000)
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>
arch/arm64/kernel/process.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm64/kernel/process.c
b/arch/arm64/kernel/process.c
index 0b07d42819dab594c81d0a9596d71f1aa828d312..1ad48f93abdd59b4c60d819d6426a5f3a61db99a 100644
(file)
--- 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
);
}