summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2010-01-04 14:11:47 +0800
committerWenji Huang <wenji.huang@oracle.com>2010-01-04 14:11:47 +0800
commitc799f7e71c710566175d57c25ad775ec29e18ad4 (patch)
tree7d00f9a69b0b07ef6154933095d735264b8a02a1 /testsuite/buildok
parent6199f6f008ea9a1ebee596696812a6fc00b9915e (diff)
downloadsystemtap-steved-c799f7e71c710566175d57c25ad775ec29e18ad4.tar.gz
systemtap-steved-c799f7e71c710566175d57c25ad775ec29e18ad4.tar.xz
systemtap-steved-c799f7e71c710566175d57c25ad775ec29e18ad4.zip
Change directory of utsrelease.h to include/generated for 2.6.33
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-xtestsuite/buildok/two.stp4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/buildok/two.stp b/testsuite/buildok/two.stp
index 2fedf654..764765c2 100755
--- a/testsuite/buildok/two.stp
+++ b/testsuite/buildok/two.stp
@@ -5,8 +5,10 @@ stap -p4 -g $@ - <<'END'
%{
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
#include <linux/version.h>
-#else
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)
#include <linux/utsrelease.h>
+#else
+#include <generated/utsrelease.h>
#endif
%}