powerpc: Check end of stack canary at oops time
authorAnton Blanchard <anton@samba.org>
Tue, 24 Aug 2010 13:15:28 +0000 (13:15 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 2 Sep 2010 04:07:30 +0000 (14:07 +1000)
commit28b549905b239357db7c249e261857c1716db05a
tree7e38254726e44ef4b63e1aec532b425ea364e97f
parentf89451fbd2b9f28f5ff156154989599ec062354b
powerpc: Check end of stack canary at oops time

Add a check for the stack canary when we oops, similar to x86. This should make
it clear that we overran our stack:

Unable to handle kernel paging request for data at address 0x24652f63700ac689
Faulting instruction address: 0xc000000000063d24
Thread overran stack, or stack corrupted

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/fault.c