diff options
Diffstat (limited to 'arch/ppc/kernel/traps.c')
-rw-r--r-- | arch/ppc/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/traps.c b/arch/ppc/kernel/traps.c index 5e4bf88a1ef5..f265b81e7008 100644 --- a/arch/ppc/kernel/traps.c +++ b/arch/ppc/kernel/traps.c | |||
@@ -659,7 +659,7 @@ void program_check_exception(struct pt_regs *regs) | |||
659 | giveup_fpu(current); | 659 | giveup_fpu(current); |
660 | preempt_enable(); | 660 | preempt_enable(); |
661 | 661 | ||
662 | fpscr = current->thread.fpscr; | 662 | fpscr = current->thread.fpscr.val; |
663 | fpscr &= fpscr << 22; /* mask summary bits with enables */ | 663 | fpscr &= fpscr << 22; /* mask summary bits with enables */ |
664 | if (fpscr & FPSCR_VX) | 664 | if (fpscr & FPSCR_VX) |
665 | code = FPE_FLTINV; | 665 | code = FPE_FLTINV; |