[lttng-dev] [PATCH lttng-modules] Update using of kernel version checking macro to new range

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Tue Nov 27 11:45:45 EST 2012


* Andrew Gabbasov (andrew_gabbasov at mentor.com) wrote:
> Signed-off-by: Andrew Gabbasov <andrew_gabbasov at mentor.com>

Merged, thanks!

Mathieu

> ---
>  probes/lttng-probe-vmscan.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/probes/lttng-probe-vmscan.c b/probes/lttng-probe-vmscan.c
> index 0205c7e..4f5739c 100644
> --- a/probes/lttng-probe-vmscan.c
> +++ b/probes/lttng-probe-vmscan.c
> @@ -39,8 +39,8 @@
>  #define CREATE_TRACE_POINTS
>  #define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
>  
> -#if (LINUX_VERSION_CODE <= KERNEL_VERSION(3,0,38)) || \
> -	LTTNG_KERNEL_RANGE(3,1,0, 3,1,10)
> +#if ((LINUX_VERSION_CODE <= KERNEL_VERSION(3,0,38)) || \
> +	LTTNG_KERNEL_RANGE(3,1,0, 3,2,0))
>  typedef int isolate_mode_t;
>  #endif
>  
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list