From: Juha Niskanen Date: Thu, 16 Feb 2012 16:55:42 +0000 (-0500) Subject: statedump: Use old macro name for kernel 2.6.38 X-Git-Tag: v2.0.0-rc1~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=47faec4b566a89db6d3957bbd15ad06639d3dbaa;p=lttng-modules.git statedump: Use old macro name for kernel 2.6.38 Signed-off-by: Juha Niskanen Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-statedump-impl.c b/lttng-statedump-impl.c index cfcf4feb..eccf1de2 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) {