[lttng-dev] [PATCH] statedump: Use old macro name for kernel 2.6.38

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Feb 16 11:54:50 EST 2012


* Juha Niskanen (juniskane at gmail.com) wrote:
> 

Merged, thanks!

Mathieu

> Signed-off-by: Juha Niskanen <juniskane at gmail.com>
> ---
>  lttng-statedump-impl.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/lttng-statedump-impl.c b/lttng-statedump-impl.c
> index cfcf4fe..eccf1de 100644
> --- a/lttng-statedump-impl.c
> +++ b/lttng-statedump-impl.c
> @@ -214,6 +214,11 @@ int lttng_enumerate_vm_maps(struct lttng_session *session)
>  }
>  
>  #ifdef CONFIG_GENERIC_HARDIRQS
> +
> +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39))
> +#define irq_desc_get_chip(desc) get_irq_desc_chip(desc)
> +#endif
> +
>  static
>  void lttng_list_interrupts(struct lttng_session *session)
>  {
> -- 
> 1.7.4.1
> 
> 
> _______________________________________________
> 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