Skip to content
Commit 8381f65d authored by Jamie Iles's avatar Jamie Iles Committed by Ingo Molnar
Browse files

sched/perf: Make sure irqs are disabled for perf_event_task_sched_in()



perf_event_task_sched_in() expects interrupts to be disabled,
but on architectures with __ARCH_WANT_INTERRUPTS_ON_CTXSW
defined, this isn't true. If this is defined, disable irqs
around the call in finish_task_switch().

Signed-off-by: default avatarJamie Iles <jamie.iles@picochip.com>
Acked-by: default avatarPeter Zijlstra <peterz@infradead.org>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
LKML-Reference: <1262964453-27370-1-git-send-email-jamie.iles@picochip.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent cf553114
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