[lttng-dev] [PATCH lttng-modules] Fix: RHEL kernel 3.10.0-327.13.1 compat
Michael Jeanson
mjeanson at efficios.com
Wed Apr 20 21:50:05 UTC 2016
Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
lttng-statedump-impl.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lttng-statedump-impl.c b/lttng-statedump-impl.c
index 4c1a99d..a252043 100644
--- a/lttng-statedump-impl.c
+++ b/lttng-statedump-impl.c
@@ -403,7 +403,8 @@ void lttng_statedump_process_ns(struct lttng_session *session,
*/
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) || \
LTTNG_UBUNTU_KERNEL_RANGE(3,13,11,36, 3,14,0,0) || \
- LTTNG_UBUNTU_KERNEL_RANGE(3,16,1,11, 3,17,0,0))
+ LTTNG_UBUNTU_KERNEL_RANGE(3,16,1,11, 3,17,0,0) || \
+ LTTNG_RHEL_KERNEL_RANGE(3,10,0,229,13,0, 3,11,0,0,0,0))
proxy = p->nsproxy;
#else
rcu_read_lock();
@@ -422,7 +423,8 @@ void lttng_statedump_process_ns(struct lttng_session *session,
}
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) || \
LTTNG_UBUNTU_KERNEL_RANGE(3,13,11,36, 3,14,0,0) || \
- LTTNG_UBUNTU_KERNEL_RANGE(3,16,1,11, 3,17,0,0))
+ LTTNG_UBUNTU_KERNEL_RANGE(3,16,1,11, 3,17,0,0) || \
+ LTTNG_RHEL_KERNEL_RANGE(3,10,0,229,13,0, 3,11,0,0,0,0))
/* (nothing) */
#else
rcu_read_unlock();
--
2.7.4
More information about the lttng-dev
mailing list