]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - arch/x86/kernel/process_32.c
i387: support lazy restore of FPU state
[~shefty/rdma-dev.git] / arch / x86 / kernel / process_32.c
index bc32761bc27ab00a3f5b1cfcd8235eafa071f7a0..c08d1ff12b7c4087dd01ad6f2ba8ea5bcc8ba04a 100644 (file)
@@ -304,7 +304,7 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
 
        /* never put a printk in __switch_to... printk() calls wake_up*() indirectly */
 
-       fpu = switch_fpu_prepare(prev_p, next_p);
+       fpu = switch_fpu_prepare(prev_p, next_p, cpu);
 
        /*
         * Reload esp0.