diff options
author | Ingo Molnar <mingo@elte.hu> | 2010-06-08 13:34:40 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-06-08 13:34:40 -0400 |
commit | 6113e45f831616de98c54a005260223b21bcb6b9 (patch) | |
tree | 0d56dbfae392f89b33c2ae6a36a5cc1ea1c1c988 /kernel/sched.c | |
parent | 84bb671dc46d77d665d2b5e74539e81b2129bb3e (diff) | |
parent | 5168ae50a66e3ff7184c2b16d661bd6d70367e50 (diff) |
Merge branch 'tip/perf/core-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index d48408142503..d3c120f1bf53 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3730,7 +3730,7 @@ int mutex_spin_on_owner(struct mutex *lock, struct thread_info *owner) | |||
3730 | * off of preempt_enable. Kernel preemptions off return from interrupt | 3730 | * off of preempt_enable. Kernel preemptions off return from interrupt |
3731 | * occur there and call schedule directly. | 3731 | * occur there and call schedule directly. |
3732 | */ | 3732 | */ |
3733 | asmlinkage void __sched preempt_schedule(void) | 3733 | asmlinkage void __sched notrace preempt_schedule(void) |
3734 | { | 3734 | { |
3735 | struct thread_info *ti = current_thread_info(); | 3735 | struct thread_info *ti = current_thread_info(); |
3736 | 3736 | ||
@@ -3742,9 +3742,9 @@ asmlinkage void __sched preempt_schedule(void) | |||
3742 | return; | 3742 | return; |
3743 | 3743 | ||
3744 | do { | 3744 | do { |
3745 | add_preempt_count(PREEMPT_ACTIVE); | 3745 | add_preempt_count_notrace(PREEMPT_ACTIVE); |
3746 | schedule(); | 3746 | schedule(); |
3747 | sub_preempt_count(PREEMPT_ACTIVE); | 3747 | sub_preempt_count_notrace(PREEMPT_ACTIVE); |
3748 | 3748 | ||
3749 | /* | 3749 | /* |
3750 | * Check again in case we missed a preemption opportunity | 3750 | * Check again in case we missed a preemption opportunity |