diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-02-05 13:45:26 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-02-05 13:47:07 -0500 |
commit | 482472c332a2a8a9df203bb6fb8f3f6ed87a9cf4 (patch) | |
tree | 26d3fbaa3a0d9bc7d3b4b6964327d8c53e6d9c4d /runtime/autoconf-vm-area.c | |
parent | 4b7b5c032203bec067abc74800cdd0a444395574 (diff) | |
download | systemtap-steved-482472c332a2a8a9df203bb6fb8f3f6ed87a9cf4.tar.gz systemtap-steved-482472c332a2a8a9df203bb6fb8f3f6ed87a9cf4.tar.xz systemtap-steved-482472c332a2a8a9df203bb6fb8f3f6ed87a9cf4.zip |
PR9740/9816? - workaround for kernel valloc bug
Diffstat (limited to 'runtime/autoconf-vm-area.c')
-rw-r--r-- | runtime/autoconf-vm-area.c | 9 |
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); +} |