diff options
author | Al Viro | 2006-01-12 01:05:57 -0800 |
---|---|---|
committer | Linus Torvalds | 2006-01-12 09:08:56 -0800 |
commit | 552058239238342dfd2fa8d33a299a162b1a4f05 (patch) | |
tree | c68f755bcff4d8b1afd931e81187d4065935d4f8 /arch/arm/kernel/traps.c | |
parent | 815d5ec86eb8d5f57e5e4aa147bd1fb6338c58ac (diff) |
[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/traps.c')
-rw-r--r-- | arch/arm/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index c9fe6f5f7ee3..c1a04ec830d1 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -164,7 +164,7 @@ static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk) } else if (verify_stack(fp)) { printk("invalid frame pointer 0x%08x", fp); ok = 0; - } else if (fp < (unsigned long)(tsk->thread_info + 1)) + } else if (fp < (unsigned long)end_of_stack(tsk)) printk("frame pointer underflow"); printk("\n"); |