UML - fix update_process_times call
PATCH 1/1 UML - fix update_process_times call
From: Bodo Stroesser <[email protected]>
In call to update_process_times() set parameter user correctly. (was from for SKAS).
Signed-off-by Bodo Stroesser <[email protected]>
Signed-off-by Jeff Dike <[email protected]>
arch/um/kernel/time_kern.c +1 -1
@@ -170,7 +170,7 @@void timer_handler (int sig,union uml_pt_regs *regs) {local_irq_disable (); -update_process_times (user_context (UPT_SP (regs))); +update_process_times (CHOOSE_MODE (user_context (UPT_SP (regs)), (regs)->skas.is_user));local_irq_enable ();if (current_thread->cpu ==0 )timer_irq (regs);