summaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel/align.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/kernel/align.c')
-rw-r--r--arch/ppc/kernel/align.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/kernel/align.c b/arch/ppc/kernel/align.c
index 70284674b..83ee7756d 100644
--- a/arch/ppc/kernel/align.c
+++ b/arch/ppc/kernel/align.c
@@ -265,7 +265,7 @@ fix_alignment(struct pt_regs *regs)
#else
giveup_fpu();
#endif
- cvt_fd(&data.f, &current->tss.fpr[reg]);
+ cvt_fd(&data.f, &current->tss.fpr[reg], &current->tss.fpscr);
/* current->tss.fpr[reg] = data.f; */
break;
case ST+F+S:
@@ -275,7 +275,7 @@ fix_alignment(struct pt_regs *regs)
#else
giveup_fpu();
#endif
- cvt_df(&current->tss.fpr[reg], &data.f);
+ cvt_df(&current->tss.fpr[reg], &data.f, &current->tss.fpscr);
/* data.f = current->tss.fpr[reg]; */
break;
default: