X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-context-ipc-ns.c;h=28108a0f543d6fab46e806c7d57ef20003e49760;hb=b4a626cb684d2797df0329dd80c2df95e490c621;hp=e6d662bbc146c2dec7ba45024022f487c1800b2e;hpb=93e5bcec1d8d550a1983bbc013248dbd83573cc7;p=lttng-modules.git diff --git a/src/lttng-context-ipc-ns.c b/src/lttng-context-ipc-ns.c index e6d662bb..28108a0f 100644 --- a/src/lttng-context-ipc-ns.c +++ b/src/lttng-context-ipc-ns.c @@ -9,6 +9,8 @@ * */ +#ifdef CONFIG_IPC_NS + #include #include #include @@ -19,9 +21,6 @@ #include #include -#if defined(CONFIG_IPC_NS) && \ - (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0)) - static size_t ipc_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset) {