summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-procfs-owner.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-02-06 12:19:22 -0500
committerFrank Ch. Eigler <fche@elastic.org>2009-02-06 12:19:59 -0500
commit2c48e4162100e7cbc53eeaee13cfbdd538b15380 (patch)
treeb9b9ad83ff7525683d045f7f8c39c978cda30deb /runtime/autoconf-procfs-owner.c
parente3687b9e6c8c0fe634ee2d33e770581d3a1e33ba (diff)
downloadsystemtap-steved-2c48e4162100e7cbc53eeaee13cfbdd538b15380.tar.gz
systemtap-steved-2c48e4162100e7cbc53eeaee13cfbdd538b15380.tar.xz
systemtap-steved-2c48e4162100e7cbc53eeaee13cfbdd538b15380.zip
2.6.29rc build fix: autoconf for proc_dir_entry->owner going away
Diffstat (limited to 'runtime/autoconf-procfs-owner.c')
-rw-r--r--runtime/autoconf-procfs-owner.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/autoconf-procfs-owner.c b/runtime/autoconf-procfs-owner.c
new file mode 100644
index 00000000..d64bf5e8
--- /dev/null
+++ b/runtime/autoconf-procfs-owner.c
@@ -0,0 +1,8 @@
+#include <linux/proc_fs.h>
+
+/* kernel commit 4d38a69c6 */
+
+void bar (void) {
+ struct proc_dir_entry foo;
+ foo.owner = (void*) 0;
+}