summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-02-13 12:51:05 -0600
committerDavid Smith <dsmith@redhat.com>2009-02-13 12:51:05 -0600
commit8c06f971cc14dab53e279e85519f34c57c783338 (patch)
tree76adfef27b5924161ca2fd327e20b57212f391be
parent177bcaebf508bb86f06a4f7b0830096cf2f3acc5 (diff)
downloadsystemtap-steved-8c06f971cc14dab53e279e85519f34c57c783338.tar.gz
systemtap-steved-8c06f971cc14dab53e279e85519f34c57c783338.tar.xz
systemtap-steved-8c06f971cc14dab53e279e85519f34c57c783338.zip
Fixed stack.c compile problems on systems with older kernels (like RHEL4).
2009-02-13 David Smith <dsmith@redhat.com> * stack.c: Fixed compile problems on systems with older kernels (like RHEL4).
-rw-r--r--runtime/ChangeLog3
-rw-r--r--runtime/stack.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index ddad637f..2d5f2537 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,5 +1,8 @@
2009-02-13 David Smith <dsmith@redhat.com>
+ * stack.c: Fixed compile problems on systems with older kernels
+ (like RHEL4).
+
* procfs.c: Added macros to guard against multiple inclusion.
2009-02-12 David Smith <dsmith@redhat.com>
diff --git a/runtime/stack.c b/runtime/stack.c
index 25d0817d..2a133398 100644
--- a/runtime/stack.c
+++ b/runtime/stack.c
@@ -27,8 +27,10 @@
#define MAXBACKTRACE 20
+#ifdef CONFIG_STACKTRACE
#include <linux/stacktrace.h>
#include <asm/stacktrace.h>
+#endif
static void _stp_stack_print_fallback(unsigned long, int, int);