summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-alloc-percpu-align.c
diff options
context:
space:
mode:
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);
+}