Message ID | 1499797497-9552-1-git-send-email-amit.pundir@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 6011148b0239..49d086753a0b 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -1927,7 +1927,7 @@ tracing_generic_entry_update(struct trace_entry *entry, unsigned long flags, #endif ((pc & NMI_MASK ) ? TRACE_FLAG_NMI : 0) | ((pc & HARDIRQ_MASK) ? TRACE_FLAG_HARDIRQ : 0) | - ((pc & SOFTIRQ_MASK) ? TRACE_FLAG_SOFTIRQ : 0) | + ((pc & SOFTIRQ_OFFSET) ? TRACE_FLAG_SOFTIRQ : 0) | (tif_need_resched() ? TRACE_FLAG_NEED_RESCHED : 0) | (test_preempt_need_resched() ? TRACE_FLAG_PREEMPT_RESCHED : 0); }