X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Fnamespace.h;fp=wrapper%2Fnamespace.h;h=0000000000000000000000000000000000000000;hb=117ab60f69a98dcbc365de8008ab93e6699d153a;hp=8e8a37123c82637321c296b16dc0157338f77f70;hpb=7c6d929d62a6e24fb1dbeaee5cd2c8afe77720b7;p=lttng-modules.git diff --git a/wrapper/namespace.h b/wrapper/namespace.h deleted file mode 100644 index 8e8a3712..00000000 --- a/wrapper/namespace.h +++ /dev/null @@ -1,27 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) - * - * wrapper/namespace.h - * - * Copyright (C) 2011-2012 Mathieu Desnoyers - * 2019 Michael Jeanson - * - */ - -#ifndef _LTTNG_WRAPPER_NAMESPACE_H -#define _LTTNG_WRAPPER_NAMESPACE_H - -#include - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,0)) -#define lttng_ns_inum ns.inum -#else -#define lttng_ns_inum proc_inum -#endif - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) -#define lttng_user_ns_parent parent -#else -#define lttng_user_ns_parent creator->user_ns -#endif - -#endif /* _LTTNG_WRAPPER_NAMESPACE_H */