summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorFeng Kan <fkan@apm.com>2013-07-23 19:52:31 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2013-07-26 14:37:29 +0200
commit845ad05ec31e0f3872a321e10dbeaf872022632c (patch)
tree7852dcec577b1c7e86fcbe0cd2d63f36cd32ef43 /arch/arm64/kernel
parentarm64: Fix definition of arm_pm_restart to match the declaration (diff)
downloadlinux-845ad05ec31e0f3872a321e10dbeaf872022632c.tar.xz
linux-845ad05ec31e0f3872a321e10dbeaf872022632c.zip
arm64: Change kernel stack size to 16K
Written by Catalin Marinas, tested by APM on storm platform. This is needed because of the failures encountered when running SpecWeb benchmark test. Signed-off-by: Feng Kan <fkan@apm.com> Acked-by: Kumar Sankaran <ksankaran@apm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r--arch/arm64/kernel/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S
index 1d1314280a03..6ad781b21c08 100644
--- a/arch/arm64/kernel/entry.S
+++ b/arch/arm64/kernel/entry.S
@@ -121,7 +121,7 @@
.macro get_thread_info, rd
mov \rd, sp
- and \rd, \rd, #~((1 << 13) - 1) // top of 8K stack
+ and \rd, \rd, #~(THREAD_SIZE - 1) // top of stack
.endm
/*