X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-cgroup-ns.c;h=82245011952b3d32fb00bf3f1fa256ced5c8766f;hb=b0af7adf85c6d6b0d30ea8f83a830211748c2429;hp=188c1d4434d6218ff7d42b27b5e6b00ffc294e46;hpb=2fb40efd59eb0e63eccac85567897746854f115c;p=lttng-modules.git diff --git a/lttng-context-cgroup-ns.c b/lttng-context-cgroup-ns.c index 188c1d44..82245011 100644 --- a/lttng-context-cgroup-ns.c +++ b/lttng-context-cgroup-ns.c @@ -17,9 +17,7 @@ #include #include -#if defined(CONFIG_CGROUPS) && \ - ((LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0)) || \ - LTTNG_UBUNTU_KERNEL_RANGE(4,4,0,0, 4,5,0,0)) +#if defined(CONFIG_CGROUPS) static size_t cgroup_ns_get_size(size_t offset)