Loading arch/um/kernel/process.c +2 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ #include <linux/resume_user_mode.h> #include <asm/current.h> #include <asm/mmu_context.h> #include <asm/switch_to.h> #include <linux/uaccess.h> #include <as-layout.h> #include <kern_util.h> Loading Loading @@ -73,7 +74,7 @@ static inline void set_current(struct task_struct *task) extern void arch_switch_to(struct task_struct *to); void *__switch_to(struct task_struct *from, struct task_struct *to) struct task_struct *__switch_to(struct task_struct *from, struct task_struct *to) { to->thread.prev_sched = from; set_current(to); Loading Loading
arch/um/kernel/process.c +2 −1 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ #include <linux/resume_user_mode.h> #include <asm/current.h> #include <asm/mmu_context.h> #include <asm/switch_to.h> #include <linux/uaccess.h> #include <as-layout.h> #include <kern_util.h> Loading Loading @@ -73,7 +74,7 @@ static inline void set_current(struct task_struct *task) extern void arch_switch_to(struct task_struct *to); void *__switch_to(struct task_struct *from, struct task_struct *to) struct task_struct *__switch_to(struct task_struct *from, struct task_struct *to) { to->thread.prev_sched = from; set_current(to); Loading