From: Michael Jeanson Date: Thu, 10 Dec 2015 16:26:29 +0000 (-0500) Subject: Fix: Use generic raw_irqs_disabled_flags X-Git-Tag: v2.8.0-rc1~53 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2817cac0fa1168a994dfa565f7d4bb8fdf41664b;p=lttng-modules.git Fix: Use generic raw_irqs_disabled_flags instead of arch_irqs_disabled_flags, this fixes the build for kernel < 2.6.37 See linux commit df9ee29270c11dba7d0fe0b83ce47a4d8e8d2101 for more details. Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/wrapper/irqflags.h b/wrapper/irqflags.h index 77f83829..d7a7a386 100644 --- a/wrapper/irqflags.h +++ b/wrapper/irqflags.h @@ -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