[lttng-dev] [PATCH] statedump: Use old macro name for kernel 2.6.38
Juha Niskanen
juniskane at gmail.com
Thu Feb 16 11:40:16 EST 2012
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
More information about the lttng-dev
mailing list