diff options
Diffstat (limited to 'arch/s390/include/asm/system.h')
-rw-r--r-- | arch/s390/include/asm/system.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/system.h b/arch/s390/include/asm/system.h index 4ab2779fdb02..6710b0eac165 100644 --- a/arch/s390/include/asm/system.h +++ b/arch/s390/include/asm/system.h | |||
@@ -20,6 +20,7 @@ | |||
20 | struct task_struct; | 20 | struct task_struct; |
21 | 21 | ||
22 | extern struct task_struct *__switch_to(void *, void *); | 22 | extern struct task_struct *__switch_to(void *, void *); |
23 | extern void update_per_regs(struct task_struct *task); | ||
23 | 24 | ||
24 | static inline void save_fp_regs(s390_fp_regs *fpregs) | 25 | static inline void save_fp_regs(s390_fp_regs *fpregs) |
25 | { | 26 | { |
@@ -93,6 +94,7 @@ static inline void restore_access_regs(unsigned int *acrs) | |||
93 | if (next->mm) { \ | 94 | if (next->mm) { \ |
94 | restore_fp_regs(&next->thread.fp_regs); \ | 95 | restore_fp_regs(&next->thread.fp_regs); \ |
95 | restore_access_regs(&next->thread.acrs[0]); \ | 96 | restore_access_regs(&next->thread.acrs[0]); \ |
97 | update_per_regs(next); \ | ||
96 | } \ | 98 | } \ |
97 | prev = __switch_to(prev,next); \ | 99 | prev = __switch_to(prev,next); \ |
98 | } while (0) | 100 | } while (0) |