sparc64: Fix stack debugging IRQ stack regression.
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Dec 2009 09:43:45 +0000 (01:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Dec 2009 09:43:45 +0000 (01:43 -0800)
Commit 4f70f7a91bffdcc39f088748dc678953eb9a3fbd
(sparc64: Implement IRQ stacks.) has two bugs.

First, the softirq range check forgets to subtract STACK_BIAS
before comparing with %sp.  Next, on failure the wrong label
is jumped to, resulting in a bogus stack being loaded.

Reported-by: Igor Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found