[PATCH] i386: fix uses of user_mode() vs. user_mode_vm()
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / asm-i386 / mach-default / do_timer.h
index 56211414fc9595bc1aeb7a854e1133b6e5238036..6312c3e798147d508c1c695c175559dd96dc8daf 100644 (file)
@@ -18,7 +18,7 @@ static inline void do_timer_interrupt_hook(struct pt_regs *regs)
 {
        do_timer(regs);
 #ifndef CONFIG_SMP
-       update_process_times(user_mode(regs));
+       update_process_times(user_mode_vm(regs));
 #endif
 /*
  * In the SMP case we use the local APIC timer interrupt to do the