]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - arch/x86/kernel/process_64.c
i387: support lazy restore of FPU state
[~shefty/rdma-dev.git] / arch / x86 / kernel / process_64.c
index 8ad880b3bc1c345dcb44e7ed4453baba4639395d..cfa5c90c01dbe0c170587ae8891a1fa419aa2e36 100644 (file)
@@ -389,7 +389,7 @@ __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
        unsigned fsindex, gsindex;
        fpu_switch_t fpu;
 
        unsigned fsindex, gsindex;
        fpu_switch_t fpu;
 
-       fpu = switch_fpu_prepare(prev_p, next_p);
+       fpu = switch_fpu_prepare(prev_p, next_p, cpu);
 
        /*
         * Reload esp0, LDT and the page table pointer:
 
        /*
         * Reload esp0, LDT and the page table pointer: