diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-05-22 12:41:46 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-05-22 12:41:46 -0400 |
commit | 660e3e3773f63c99c4eaabed3a49344628719e29 (patch) | |
tree | d069ff82660ff6402ad6b65b2b7652f4d2e35f67 /kernel | |
parent | d57acd2d9c2d24b22ed71d57a00e8624687cca31 (diff) |
Feather-Trace: make SCHED only depend on next
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 7f1de34b1c..9ee07ba365 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -3654,7 +3654,7 @@ need_resched: | |||
3654 | 3654 | ||
3655 | release_kernel_lock(prev); | 3655 | release_kernel_lock(prev); |
3656 | need_resched_nonpreemptible: | 3656 | need_resched_nonpreemptible: |
3657 | TS_SCHED_START(prev); | 3657 | TS_SCHED_START; |
3658 | 3658 | ||
3659 | schedule_debug(prev); | 3659 | schedule_debug(prev); |
3660 | 3660 | ||
@@ -3693,7 +3693,7 @@ need_resched_nonpreemptible: | |||
3693 | ++*switch_count; | 3693 | ++*switch_count; |
3694 | 3694 | ||
3695 | TS_SCHED_END(next); | 3695 | TS_SCHED_END(next); |
3696 | TS_CXS_START(prev); | 3696 | TS_CXS_START(next); |
3697 | context_switch(rq, prev, next); /* unlocks the rq */ | 3697 | context_switch(rq, prev, next); /* unlocks the rq */ |
3698 | TS_CXS_END(current); | 3698 | TS_CXS_END(current); |
3699 | } else { | 3699 | } else { |