diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-08-13 14:40:57 +0200 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-08-13 14:40:57 +0200 |
commit | 1fcbe027b5d29ec9cd0eeb753c14fb366ae852ac (patch) | |
tree | b0d80646567ac71238cf2ffb33e29ad33d758816 /arch/tile/include/asm/backtrace.h | |
parent | arch/tile: Fix a couple of issues with the COMPAT code for TILE-Gx. (diff) | |
download | linux-1fcbe027b5d29ec9cd0eeb753c14fb366ae852ac.tar.xz linux-1fcbe027b5d29ec9cd0eeb753c14fb366ae852ac.zip |
arch/tile: support backtracing on TILE-Gx
This functionality was stubbed out until recently. Now we support our
normal backtracing API on TILE-Gx as well as on TILE64/TILEPro.
This change includes a tweak to the instruction encoding caused by
adding addxli for compat mode.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/include/asm/backtrace.h')
-rw-r--r-- | arch/tile/include/asm/backtrace.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/tile/include/asm/backtrace.h b/arch/tile/include/asm/backtrace.h index 6970bfcad549..758ca4619d50 100644 --- a/arch/tile/include/asm/backtrace.h +++ b/arch/tile/include/asm/backtrace.h @@ -21,7 +21,9 @@ #include <arch/chip.h> -#if CHIP_VA_WIDTH() > 32 +#if defined(__tile__) +typedef unsigned long VirtualAddress; +#elif CHIP_VA_WIDTH() > 32 typedef unsigned long long VirtualAddress; #else typedef unsigned int VirtualAddress; |