diff options
author | Ingo Molnar <mingo@kernel.org> | 2012-03-29 06:48:15 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-03-29 06:48:22 -0400 |
commit | 1f56ee7b68fecd45d25bdcf2eda7507797594424 (patch) | |
tree | 782ec71491cdfb0ce5d5117428be6c3af7070207 /kernel/sched | |
parent | 6135fc1eb4b1c9ae5f535507ed59591bab51e630 (diff) | |
parent | 01f23e1630d944f7085cd8fd5793e31ea91c03d8 (diff) |
Merge branch 'sched/arch' into sched/urgent
Merge reason: It has not gone upstream via the ARM tree, merge it via
the scheduler tree.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched')
-rw-r--r-- | kernel/sched/core.c | 1 | ||||
-rw-r--r-- | kernel/sched/sched.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 929fd857ef88..985f6e595154 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
@@ -1962,6 +1962,7 @@ static void finish_task_switch(struct rq *rq, struct task_struct *prev) | |||
1962 | local_irq_enable(); | 1962 | local_irq_enable(); |
1963 | #endif /* __ARCH_WANT_INTERRUPTS_ON_CTXSW */ | 1963 | #endif /* __ARCH_WANT_INTERRUPTS_ON_CTXSW */ |
1964 | finish_lock_switch(rq, prev); | 1964 | finish_lock_switch(rq, prev); |
1965 | finish_arch_post_lock_switch(); | ||
1965 | 1966 | ||
1966 | fire_sched_in_preempt_notifiers(current); | 1967 | fire_sched_in_preempt_notifiers(current); |
1967 | if (mm) | 1968 | if (mm) |
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 753bdd567416..2f7a723adcb3 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
@@ -681,6 +681,9 @@ static inline int task_running(struct rq *rq, struct task_struct *p) | |||
681 | #ifndef finish_arch_switch | 681 | #ifndef finish_arch_switch |
682 | # define finish_arch_switch(prev) do { } while (0) | 682 | # define finish_arch_switch(prev) do { } while (0) |
683 | #endif | 683 | #endif |
684 | #ifndef finish_arch_post_lock_switch | ||
685 | # define finish_arch_post_lock_switch() do { } while (0) | ||
686 | #endif | ||
684 | 687 | ||
685 | #ifndef __ARCH_WANT_UNLOCKED_CTXSW | 688 | #ifndef __ARCH_WANT_UNLOCKED_CTXSW |
686 | static inline void prepare_lock_switch(struct rq *rq, struct task_struct *next) | 689 | static inline void prepare_lock_switch(struct rq *rq, struct task_struct *next) |