summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-alloc-percpu-align.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-03-16 12:15:24 -0400
committerDave Brolley <brolley@redhat.com>2009-03-16 12:15:24 -0400
commit24068a1f2e17857f4ce096a17244d09575a199c1 (patch)
treeb00dd1b858b19cc21a440d734e44ebe14d080d5a /runtime/autoconf-alloc-percpu-align.c
parent5bc7237f1c7bdb0eb850752c9611f94d009feff0 (diff)
parent2497c78e8aa704366683dad56fc8d749a5e92f52 (diff)
downloadsystemtap-steved-24068a1f2e17857f4ce096a17244d09575a199c1.tar.gz
systemtap-steved-24068a1f2e17857f4ce096a17244d09575a199c1.tar.xz
systemtap-steved-24068a1f2e17857f4ce096a17244d09575a199c1.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Conflicts: Makefile.in main.cxx stap-find-servers stap-start-server
Diffstat (limited to 'runtime/autoconf-alloc-percpu-align.c')
-rw-r--r--runtime/autoconf-alloc-percpu-align.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/autoconf-alloc-percpu-align.c b/runtime/autoconf-alloc-percpu-align.c
new file mode 100644
index 00000000..158d579c
--- /dev/null
+++ b/runtime/autoconf-alloc-percpu-align.c
@@ -0,0 +1,6 @@
+#include <linux/percpu.h>
+
+/* kernel commit f2a8205c */
+void foo (void) {
+ (void) __alloc_percpu(sizeof(int), 8);
+}