diff options
author | 2010-01-08 15:27:33 +0000 | |
---|---|---|
committer | 2010-01-13 10:43:08 +0100 | |
commit | 8381f65d097dad90416808314737dd7d3ae38ea9 (patch) | |
tree | 7cd0db1b5b719a629962571fdc26fd69bdee573c /tools/perf/builtin-annotate.c | |
parent | perf tools: Create typedef for common event synthesizing callback (diff) | |
download | linux-rng-8381f65d097dad90416808314737dd7d3ae38ea9.tar.xz linux-rng-8381f65d097dad90416808314737dd7d3ae38ea9.zip |
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: Jamie Iles <jamie.iles@picochip.com>
Acked-by: Peter 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: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions