arch/tile: refactor backtracing code
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 2 May 2011 17:49:14 +0000 (13:49 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Mon, 2 May 2011 17:49:14 +0000 (13:49 -0400)
commit93013a0f533fb3dd6875ca670d8e0bb4166a796e
treeb3967c2853ca9b8a6322d16d70400b10bb25ac53
parent8e10cd74342c7f5ce259cceca36f6eba084f5d58
arch/tile: refactor backtracing code

This change is the result of some work to make the backtrace code more
shareable between kernel, libc, and gdb.

For the kernel, some good effects are to eliminate the hacky
"VirtualAddress" typedef in favor of "unsigned long", to eliminate a
bunch of spurious kernel doc comments, to remove the dead "bt_read_memory"
function, and to use "__tilegx__" in #ifdefs instead of "TILE_CHIP".

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/backtrace.h
arch/tile/include/asm/opcode-tile_32.h
arch/tile/include/asm/opcode-tile_64.h
arch/tile/kernel/backtrace.c
arch/tile/kernel/stack.c
arch/tile/kernel/tile-desc_32.c