|
@@ -692,6 +692,9 @@ static inline int task_running(struct rq *rq, struct task_struct *p)
|
|
|
#ifndef finish_arch_switch
|
|
|
# define finish_arch_switch(prev) do { } while (0)
|
|
|
#endif
|
|
|
+#ifndef finish_arch_post_lock_switch
|
|
|
+# define finish_arch_post_lock_switch() do { } while (0)
|
|
|
+#endif
|
|
|
|
|
|
#ifndef __ARCH_WANT_UNLOCKED_CTXSW
|
|
|
static inline void prepare_lock_switch(struct rq *rq, struct task_struct *next)
|