diff options
Diffstat (limited to 'arch/um/kernel/time.c')
-rw-r--r-- | arch/um/kernel/time.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/um/kernel/time.c b/arch/um/kernel/time.c index 259c49da7ff5..3571703a7cb4 100644 --- a/arch/um/kernel/time.c +++ b/arch/um/kernel/time.c | |||
@@ -181,9 +181,7 @@ void timer_handler(int sig, union uml_pt_regs *regs) | |||
181 | timer_irq(regs); | 181 | timer_irq(regs); |
182 | local_irq_disable(); | 182 | local_irq_disable(); |
183 | irq_enter(); | 183 | irq_enter(); |
184 | update_process_times(CHOOSE_MODE( | 184 | update_process_times((regs)->skas.is_user); |
185 | (UPT_SC(regs) && user_context(UPT_SP(regs))), | ||
186 | (regs)->skas.is_user)); | ||
187 | irq_exit(); | 185 | irq_exit(); |
188 | local_irq_enable(); | 186 | local_irq_enable(); |
189 | } | 187 | } |