[PATCH] x86-64: Use stricter in process stack check for unwinder
authorAndi Kleen <ak@suse.de>
Tue, 28 Nov 2006 19:12:59 +0000 (20:12 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 28 Nov 2006 19:12:59 +0000 (20:12 +0100)
commitc547c77ee4d0408907847f64c403df1bf2f9c7a0
treeffbc35f7dcbf7b1b57f220c1e1a555bed24a6089
parent38b5b036b91248be8033d42dd0778b1c75c5af58
[PATCH] x86-64: Use stricter in process stack check for unwinder

Previously it would check for alignment only, which could break
if the stack pointer was unaligned. Now explicitely check if the
stack pointer is in the stack page of the current process.

Ported from i386.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/traps.c