diff options
Diffstat (limited to 'arch/sh/kernel/traps_64.c')
-rw-r--r-- | arch/sh/kernel/traps_64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/traps_64.c b/arch/sh/kernel/traps_64.c index 75c0cbe2eda0..d86f5315a0c1 100644 --- a/arch/sh/kernel/traps_64.c +++ b/arch/sh/kernel/traps_64.c | |||
@@ -600,7 +600,7 @@ static int misaligned_fpu_load(struct pt_regs *regs, | |||
600 | indexed by register number. */ | 600 | indexed by register number. */ |
601 | if (last_task_used_math == current) { | 601 | if (last_task_used_math == current) { |
602 | enable_fpu(); | 602 | enable_fpu(); |
603 | save_fpu(current, regs); | 603 | save_fpu(current); |
604 | disable_fpu(); | 604 | disable_fpu(); |
605 | last_task_used_math = NULL; | 605 | last_task_used_math = NULL; |
606 | regs->sr |= SR_FD; | 606 | regs->sr |= SR_FD; |
@@ -673,7 +673,7 @@ static int misaligned_fpu_store(struct pt_regs *regs, | |||
673 | indexed by register number. */ | 673 | indexed by register number. */ |
674 | if (last_task_used_math == current) { | 674 | if (last_task_used_math == current) { |
675 | enable_fpu(); | 675 | enable_fpu(); |
676 | save_fpu(current, regs); | 676 | save_fpu(current); |
677 | disable_fpu(); | 677 | disable_fpu(); |
678 | last_task_used_math = NULL; | 678 | last_task_used_math = NULL; |
679 | regs->sr |= SR_FD; | 679 | regs->sr |= SR_FD; |