summaryrefslogtreecommitdiff
path: root/arch/tile/include/asm/backtrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/include/asm/backtrace.h')
-rw-r--r--arch/tile/include/asm/backtrace.h4
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;