Fix: Use generic raw_irqs_disabled_flags
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mathieu Desnoyers
AppliedMerged, thanks!
Mathieu
Quoted 24 lines · ----- On Dec 10, 2015, at 11:26 AM, Michael Jeanson [email protected] wrote:
instead of
arch_irqs_disabled_flags, this fixes the build for kernel < 2.6.37See linux commit
df9ee29270c11dba7d0fe0b83ce47a4d8e8d2101for more details.Signed-off-by Michael Jeanson <[email protected]>---
wrapper/irqflags.h| 2 +-1 file changed, 1 insertion(+), 1 deletion(-)wrapper/irqflags.h +1
-2@@ -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 --1.9.1
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com