diff options
Diffstat (limited to 'arch/s390/include/asm/switch_to.h')
| -rw-r--r-- | arch/s390/include/asm/switch_to.h | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/s390/include/asm/switch_to.h b/arch/s390/include/asm/switch_to.h index f223068b782..f3a9e0f9270 100644 --- a/arch/s390/include/asm/switch_to.h +++ b/arch/s390/include/asm/switch_to.h @@ -80,21 +80,19 @@ static inline void restore_access_regs(unsigned int *acrs)  	if (prev->mm) {							\  		save_fp_regs(&prev->thread.fp_regs);			\  		save_access_regs(&prev->thread.acrs[0]);		\ +		save_ri_cb(prev->thread.ri_cb);				\  	}								\  	if (next->mm) {							\  		restore_fp_regs(&next->thread.fp_regs);			\  		restore_access_regs(&next->thread.acrs[0]);		\ +		restore_ri_cb(next->thread.ri_cb, prev->thread.ri_cb);	\  		update_per_regs(next);					\  	}								\  	prev = __switch_to(prev,next);					\  } while (0) -extern void account_vtime(struct task_struct *, struct task_struct *); -extern void account_tick_vtime(struct task_struct *); -  #define finish_arch_switch(prev) do {					     \  	set_fs(current->thread.mm_segment);				     \ -	account_vtime(prev, current);					     \  } while (0)  #endif /* __ASM_SWITCH_TO_H */  |