sparc64: Use kstack_valid() in die_if_kernel().
commitcb256aa60409efd803806cfb0528a4b3f8397dba
authorDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 05:16:22 +0000 (12 22:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 05:16:22 +0000 (12 22:16 -0700)
treeedb33d59e189c0715100251863357801342c76ec
parentbdd32ce95f79fb5cc964cd789d7ae4500bba7c6f
sparc64: Use kstack_valid() in die_if_kernel().

This gets rid of a local function (is_kernel_stack()) which tries to
do the same thing, yet poorly in that it doesn't handle IRQ stacks
properly.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/traps_64.c