arch/tile: fix two bugs in the backtracer code
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 28 Feb 2011 20:30:16 +0000 (15:30 -0500)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 1 Mar 2011 21:21:00 +0000 (16:21 -0500)
commit3cebbafd28e6f91677f3becffcdf9150b74a4e0c
treee744b9970878141fea0bd9e6f868cc5b6bae5d31
parent6c4d11268819d9c920c7befd8e8e9aad456bb067
arch/tile: fix two bugs in the backtracer code

The first is that we were using an incorrect hand-rolled variant
of __kernel_text_address() which didn't handle module PCs.  We now
just use the standard API.

The second was that we weren't accounting for the three-level
page table when we were trying to pre-verify the addresses on
the 64-bit TILE-Gx processor; we now do that correctly.

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