statedump: Use old macro name for kernel 2.6.38
authorJuha Niskanen <juniskane@gmail.com>
Thu, 16 Feb 2012 16:55:42 +0000 (11:55 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 16 Feb 2012 16:55:42 +0000 (11:55 -0500)
Signed-off-by: Juha Niskanen <juniskane@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-statedump-impl.c

index cfcf4febb97b3ceff2a2bcd7c28c53f2fe17cc3d..eccf1de2dc405c9305619adef3a09e2cc89cd9b1 100644 (file)
@@ -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)
 {
This page took 0.026569 seconds and 4 git commands to generate.