summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-07-03 16:00:40 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-07-03 16:01:23 -0400
commit422b0781177e0755df5542e1c70e809e6f3cfe89 (patch)
treedaa2dd746ed749245c314b005a59976d2e7d0978
parent66e1a139060be3caac7733ba745b225ce775ca97 (diff)
downloadsystemtap-steved-422b0781177e0755df5542e1c70e809e6f3cfe89.tar.gz
systemtap-steved-422b0781177e0755df5542e1c70e809e6f3cfe89.tar.xz
systemtap-steved-422b0781177e0755df5542e1c70e809e6f3cfe89.zip
ubuntu (2.6.24-16-server) kernel compatibility fix
-rw-r--r--ChangeLog4
-rw-r--r--translate.cxx2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 697f4e0d..7f90771b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-03 Frank Ch. Eigler <fche@elastic.org>
+
+ * translate.cxx (translate_pass): Don't #include <linux/compile.h>.
+
2008-07-03 <brolley@redhat.com>
* stap-serverd: New script.
diff --git a/translate.cxx b/translate.cxx
index 2c1cb84c..e9dff3c7 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4530,7 +4530,7 @@ translate_pass (systemtap_session& s)
s.op->newline() << "#include <linux/utsrelease.h>";
s.op->newline() << "#include <linux/utsname.h>";
s.op->newline() << "#include <linux/version.h>";
- s.op->newline() << "#include <linux/compile.h>";
+ // s.op->newline() << "#include <linux/compile.h>";
s.op->newline() << "#include \"loc2c-runtime.h\" ";
// XXX: old 2.6 kernel hack