Skip to content
Commit 6409c4da authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched: sched_clock() improvement: use in_nmi()



make sure we dont execute more complex sched_clock() code in NMI context.

Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
Acked-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent af39241b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment