summaryrefslogtreecommitdiffstats
path: root/runtime/stack-i386.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-02-18 19:33:06 -0500
committerFrank Ch. Eigler <fche@elastic.org>2009-02-18 19:33:24 -0500
commit8aaa6e11f666ad372107299b5b17602011125c7d (patch)
tree984049f5969bb6dd5d913993512d002e0357cad2 /runtime/stack-i386.c
parent84212c8c04060f916c50a60651174bdbc727dc7d (diff)
downloadsystemtap-steved-8aaa6e11f666ad372107299b5b17602011125c7d.tar.gz
systemtap-steved-8aaa6e11f666ad372107299b5b17602011125c7d.tar.xz
systemtap-steved-8aaa6e11f666ad372107299b5b17602011125c7d.zip
PR9866 band-aid: deactivate new CONFIG_STACKTRACE code for older kernels
Diffstat (limited to 'runtime/stack-i386.c')
-rw-r--r--runtime/stack-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack-i386.c b/runtime/stack-i386.c
index 3c3921ea..206801d8 100644
--- a/runtime/stack-i386.c
+++ b/runtime/stack-i386.c
@@ -14,7 +14,7 @@ static int _stp_valid_stack_ptr(unsigned long context, unsigned long p)
}
/* DWARF unwinder failed. Just dump intereting addresses on kernel stack. */
-#ifndef CONFIG_STACKTRACE
+#if ! (defined(CONFIG_STACKTRACE) && LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26))
static void _stp_stack_print_fallback(unsigned long stack, int verbose, int levels)
{
unsigned long addr;