diff options
Diffstat (limited to 'arch/ppc/kernel/align.c')
-rw-r--r-- | arch/ppc/kernel/align.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc/kernel/align.c b/arch/ppc/kernel/align.c index ff81da9598d8..ab398c4b70b6 100644 --- a/arch/ppc/kernel/align.c +++ b/arch/ppc/kernel/align.c | |||
@@ -375,7 +375,7 @@ fix_alignment(struct pt_regs *regs) | |||
375 | #ifdef CONFIG_PPC_FPU | 375 | #ifdef CONFIG_PPC_FPU |
376 | preempt_disable(); | 376 | preempt_disable(); |
377 | enable_kernel_fp(); | 377 | enable_kernel_fp(); |
378 | cvt_fd(&data.f, &data.d, ¤t->thread.fpscr); | 378 | cvt_fd(&data.f, &data.d, ¤t->thread); |
379 | preempt_enable(); | 379 | preempt_enable(); |
380 | #else | 380 | #else |
381 | return 0; | 381 | return 0; |
@@ -385,7 +385,7 @@ fix_alignment(struct pt_regs *regs) | |||
385 | #ifdef CONFIG_PPC_FPU | 385 | #ifdef CONFIG_PPC_FPU |
386 | preempt_disable(); | 386 | preempt_disable(); |
387 | enable_kernel_fp(); | 387 | enable_kernel_fp(); |
388 | cvt_df(&data.d, &data.f, ¤t->thread.fpscr); | 388 | cvt_df(&data.d, &data.f, ¤t->thread); |
389 | preempt_enable(); | 389 | preempt_enable(); |
390 | #else | 390 | #else |
391 | return 0; | 391 | return 0; |