Fix: Use generic raw_irqs_disabled_flags
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 10 Dec 2015 16:26:29 +0000 (11:26 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 11 Dec 2015 13:47:49 +0000 (08:47 -0500)
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 <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
wrapper/irqflags.h

index 77f8382945f9ebc9ee6382932a82a7514a8a7054..d7a7a386ce11c1db048c15000b0de4fe7ea9eae6 100644 (file)
@@ -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.026221 seconds and 4 git commands to generate.