sparc64: Sync FPU state in VIS emulation handler.

Copy the FPU state to the task's thread_info->fpregs for the VIS emulation
functions to access.

Signed-off-by: Hong H. Pham <hong.pham@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Hong H. Pham and committed by David S. Miller 410d2c81 726c12f5

+2
+2
arch/sparc64/kernel/visemul.c
··· 807 807 if (get_user(insn, (u32 __user *) pc)) 808 808 return -EFAULT; 809 809 810 + save_and_clear_fpu(); 811 + 810 812 opf = (insn & VIS_OPF_MASK) >> VIS_OPF_SHIFT; 811 813 switch (opf) { 812 814 default: