]> git.karo-electronics.de Git - mv-sheeva.git/commit
arch/tile: prevent corrupt top frame from causing backtracer runaway
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 14 Oct 2010 19:19:04 +0000 (15:19 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Thu, 14 Oct 2010 19:19:04 +0000 (15:19 -0400)
commitdabe98c972091818762e02841ab1f982e573e7d0
tree3770c66ab60cc34225158e87a6532afa5704806c
parent45123f7e74e004848da765f3182cd401a38d354d
arch/tile: prevent corrupt top frame from causing backtracer runaway

The backtracer will normally cut itself off after 100 frames anyway,
but it's messy.  With this change we notice that the frame being
reported is the same as the last one, and cut off the dump with a
message similar to what gdb displays in the same circumstance.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/stack.c