X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Flttng-context-mnt-ns.c;h=09fb81a7590346f5a0e76ecaf31946a95e310948;hb=12bb2edb6ed3e96d3299a979e49b828f2b17dcb2;hp=7fce5dd151d16b30fc743eeea3cb31617fed09e9;hpb=cfa6cc1d0f01c2cfcc1a679abf3a6572d411c309;p=lttng-modules.git diff --git a/src/lttng-context-mnt-ns.c b/src/lttng-context-mnt-ns.c index 7fce5dd1..09fb81a7 100644 --- a/src/lttng-context-mnt-ns.c +++ b/src/lttng-context-mnt-ns.c @@ -20,7 +20,7 @@ #include #if !defined(LTTNG_MNT_NS_MISSING_HEADER) && \ - (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)) + (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0)) #include <../fs/mount.h> @@ -87,7 +87,7 @@ int lttng_add_mnt_ns_to_ctx(struct lttng_ctx **ctx) return -EEXIST; } field->event_field.name = "mnt_ns"; - field->event_field.type.atype = atype_integer; + field->event_field.type.type = lttng_kernel_type_integer; field->event_field.type.u.integer.size = sizeof(unsigned int) * CHAR_BIT; field->event_field.type.u.integer.alignment = lttng_alignof(unsigned int) * CHAR_BIT; field->event_field.type.u.integer.signedness = lttng_is_signed_type(unsigned int);