Merge branch 'x86-fpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / arch / x86 / kernel / process_32.c
index 2aa57dc909d66743d7ee6d8d7db8a41837c52fd4..516fa186121b6d7dd82d9b73e1fa79ed11aa323a 100644 (file)
@@ -293,7 +293,7 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
 
        switch_fpu_finish(next_p, fpu);
 
-       percpu_write(current_task, next_p);
+       this_cpu_write(current_task, next_p);
 
        return prev_p;
 }