summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-vm-area.c
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-02-05 14:22:34 -0500
committerWilliam Cohen <wcohen@redhat.com>2009-02-05 14:22:34 -0500
commite222fe9f5bd2337cb306e29d45f3916b18b43e8f (patch)
tree5992189edb0caca9ddc7d87d330f8bef698fde92 /runtime/autoconf-vm-area.c
parenta38429fc30b6358de9b9680c9f4f795ab4852776 (diff)
parent482472c332a2a8a9df203bb6fb8f3f6ed87a9cf4 (diff)
downloadsystemtap-steved-e222fe9f5bd2337cb306e29d45f3916b18b43e8f.tar.gz
systemtap-steved-e222fe9f5bd2337cb306e29d45f3916b18b43e8f.tar.xz
systemtap-steved-e222fe9f5bd2337cb306e29d45f3916b18b43e8f.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Conflicts: ChangeLog
Diffstat (limited to 'runtime/autoconf-vm-area.c')
-rw-r--r--runtime/autoconf-vm-area.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/autoconf-vm-area.c b/runtime/autoconf-vm-area.c
new file mode 100644
index 00000000..920d103d
--- /dev/null
+++ b/runtime/autoconf-vm-area.c
@@ -0,0 +1,9 @@
+#include <linux/vmalloc.h>
+#include <asm/page.h>
+
+void foo (void)
+{
+ void *dummy;
+ dummy = alloc_vm_area (PAGE_SIZE);
+ free_vm_area (dummy);
+}