lttng-statedump-impl: Use generic hard irqs for Linux >= 3.12
[lttng-modules.git] / lttng-statedump-impl.c
index b8f9d356e486ac4ce5a4b414a168a398bdee0542..1269a3e05ee7e680d8130ed4c8a47f4ea6ac22a6 100755 (executable)
@@ -51,8 +51,9 @@
 #include "wrapper/spinlock.h"
 #include "wrapper/fdtable.h"
 #include "wrapper/nsproxy.h"
+#include "wrapper/irq.h"
 
-#ifdef CONFIG_GENERIC_HARDIRQS
+#ifdef CONFIG_LTTNG_HAS_LIST_IRQ
 #include <linux/irq.h>
 #endif
 
@@ -244,7 +245,7 @@ int lttng_enumerate_vm_maps(struct lttng_session *session)
 }
 #endif
 
-#ifdef CONFIG_GENERIC_HARDIRQS
+#ifdef CONFIG_LTTNG_HAS_LIST_IRQ
 
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,39))
 #define irq_desc_get_chip(desc) get_irq_desc_chip(desc)
This page took 0.024574 seconds and 4 git commands to generate.