summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-01-12 10:05:57 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-12 18:08:56 +0100
commit552058239238342dfd2fa8d33a299a162b1a4f05 (patch)
treec68f755bcff4d8b1afd931e81187d4065935d4f8 /arch/arm/kernel/process.c
parent[PATCH] arm: task_pt_regs() (diff)
downloadlinux-552058239238342dfd2fa8d33a299a162b1a4f05.tar.xz
linux-552058239238342dfd2fa8d33a299a162b1a4f05.zip
[PATCH] arm: end_of_stack()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/arm/kernel/process.c')
-rw-r--r--arch/arm/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 91d107d33c8d..ac6ed955ca0f 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm/kernel/process.c
@@ -459,7 +459,7 @@ unsigned long get_wchan(struct task_struct *p)
if (!p || p == current || p->state == TASK_RUNNING)
return 0;
- stack_start = (unsigned long)(p->thread_info + 1);
+ stack_start = (unsigned long)end_of_stack(p);
stack_end = ((unsigned long)p->thread_info) + THREAD_SIZE;
fp = thread_saved_fp(p);