summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-03-08 22:28:03 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-03-08 22:28:03 -0400
commitb1f85b93f4cdc5eaad45891399c30341d4d6ce93 (patch)
tree173eda2e74a4f2fc921e1a55bb4ea935af98254d /buildrun.cxx
parent4be9af07213db548443da4ae7ed365e98ed2b29c (diff)
downloadsystemtap-steved-b1f85b93f4cdc5eaad45891399c30341d4d6ce93.tar.gz
systemtap-steved-b1f85b93f4cdc5eaad45891399c30341d4d6ce93.tar.xz
systemtap-steved-b1f85b93f4cdc5eaad45891399c30341d4d6ce93.zip
Adapt to linux-next commit changing __alloc_percpu API.
After linux-next commit f2a8205c, it takes two parameters again, so we autoconf for it rather than use KERNEL_VERSION ifdefs.
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 2685949d..b9d648ef 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -147,6 +147,7 @@ compile_pass (systemtap_session& s)
output_autoconf(s, o, "autoconf-task-uid.c", "STAPCONF_TASK_UID", NULL);
output_autoconf(s, o, "autoconf-vm-area.c", "STAPCONF_VM_AREA", NULL);
output_autoconf(s, o, "autoconf-procfs-owner.c", "STAPCONF_PROCFS_OWNER", NULL);
+ output_autoconf(s, o, "autoconf-alloc-percpu-align.c", "STAPCONF_ALLOC_PERCPU_ALIGN", NULL);
#if 0
/* NB: For now, the performance hit of probe_kernel_read/write (vs. our