fix: sublevel version overflow in LINUX_VERSION_CODE
[lttng-modules.git] / wrapper / irqflags.h
index 77f8382945f9ebc9ee6382932a82a7514a8a7054..4d3f47a58c98c5dbb9b9c28367305f296e4674ba 100644 (file)
@@ -23,7 +23,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <linux/version.h>
+#include <lttng-kernel-version.h>
 #include <linux/irqflags.h>
 
 #ifdef CONFIG_X86
@@ -33,7 +33,7 @@ int lttng_regs_irqs_disabled(struct pt_regs *regs)
 {
        unsigned long flags = regs->flags;
 
-       return arch_irqs_disabled_flags(flags);
+       return raw_irqs_disabled_flags(flags);
 }
 
 #else
This page took 0.034862 seconds and 4 git commands to generate.