X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=src%2Flttng-context-uts-ns.c;h=b4284a5c5cf0d4fe854437fdf20c6cef06b88a3c;hp=455b16038bdad31edef3457ddd3fb4168761449e;hb=HEAD;hpb=93e5bcec1d8d550a1983bbc013248dbd83573cc7 diff --git a/src/lttng-context-uts-ns.c b/src/lttng-context-uts-ns.c index 455b1603..ca0c58fc 100644 --- a/src/lttng-context-uts-ns.c +++ b/src/lttng-context-uts-ns.c @@ -9,6 +9,8 @@ * */ +#ifdef CONFIG_UTS_NS + #include #include #include @@ -19,9 +21,6 @@ #include #include -#if defined(CONFIG_UTS_NS) && \ - (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0)) - static size_t uts_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset) {