Skip to content

Commit 1f56ee7

Browse files
author
Ingo Molnar
committed
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 <[email protected]>
2 parents 6135fc1 + 01f23e1 commit 1f56ee7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

kernel/sched/core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1962,6 +1962,7 @@ static void finish_task_switch(struct rq *rq, struct task_struct *prev)
19621962
local_irq_enable();
19631963
#endif /* __ARCH_WANT_INTERRUPTS_ON_CTXSW */
19641964
finish_lock_switch(rq, prev);
1965+
finish_arch_post_lock_switch();
19651966

19661967
fire_sched_in_preempt_notifiers(current);
19671968
if (mm)

kernel/sched/sched.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,9 @@ static inline int task_running(struct rq *rq, struct task_struct *p)
681681
#ifndef finish_arch_switch
682682
# define finish_arch_switch(prev) do { } while (0)
683683
#endif
684+
#ifndef finish_arch_post_lock_switch
685+
# define finish_arch_post_lock_switch() do { } while (0)
686+
#endif
684687

685688
#ifndef __ARCH_WANT_UNLOCKED_CTXSW
686689
static inline void prepare_lock_switch(struct rq *rq, struct task_struct *next)

0 commit comments

Comments
 (0)