From: Michael Jeanson Date: Wed, 20 Apr 2016 21:50:05 +0000 (-0400) Subject: Fix: RHEL kernel 3.10.0-327.13.1 compat X-Git-Tag: v2.8.0-rc2~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8e7bc2c48897d20f0feb6f4e3aef57089c1fbd82;p=lttng-modules.git Fix: RHEL kernel 3.10.0-327.13.1 compat Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-statedump-impl.c b/lttng-statedump-impl.c index 4c1a99d0..a2520433 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();