X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-statedump-impl.c;h=1269a3e05ee7e680d8130ed4c8a47f4ea6ac22a6;hb=29784493cd9a17bddb3a22c41056c95695988e2e;hp=b8f9d356e486ac4ce5a4b414a168a398bdee0542;hpb=2e7a070925347c32092ba7471a28cae6334d4498;p=lttng-modules.git diff --git a/lttng-statedump-impl.c b/lttng-statedump-impl.c index b8f9d356..1269a3e0 100755 --- a/lttng-statedump-impl.c +++ b/lttng-statedump-impl.c @@ -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 #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)