summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-07-12 19:10:22 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-07-12 19:10:22 -0400
commitf1743f00e6058d2dee44510f3ef165c549a6291e (patch)
tree00286e777fefe26691e14be0e77536f0c9737214 /translate.cxx
parentad125a746537f806424fbad8d36eff332dffc25a (diff)
downloadsystemtap-steved-f1743f00e6058d2dee44510f3ef165c549a6291e.tar.gz
systemtap-steved-f1743f00e6058d2dee44510f3ef165c549a6291e.tar.xz
systemtap-steved-f1743f00e6058d2dee44510f3ef165c549a6291e.zip
PR6738: restore support for rhel4-era (2.6.9) kernels
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/translate.cxx b/translate.cxx
index c52171e1..215d7ffb 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4651,7 +4651,8 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#include <linux/delay.h>";
s.op->newline() << "#include <linux/profile.h>";
s.op->newline() << "#include <linux/random.h>";
- s.op->newline() << "#include <linux/utsrelease.h>";
+ // s.op->newline() << "#include <linux/utsrelease.h>"; // newer kernels only
+ s.op->newline() << "#include <linux/vermagic.h>";
s.op->newline() << "#include <linux/utsname.h>";
s.op->newline() << "#include <linux/version.h>";
// s.op->newline() << "#include <linux/compile.h>";