sparc64: Tighten checks in kstack_valid().
authorDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2010 20:03:45 +0000 (12:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2010 20:03:45 +0000 (12:03 -0800)
commit232486e1e9f34889424b68ee6270440b554479a2
tree146eefb55c19b9cc21f0263ffa19f2e6a5e707fe
parent440ab7ac2d6b735fb278a1ff1674f6716314c6bb
sparc64: Tighten checks in kstack_valid().

The kernel stack pointer is invalid if it is not 16-byte
aligned.

Based upon a report by Meelis Roos <mroos@linux.ee>

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