|
@@ -291,7 +291,7 @@ void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc,
|
|
#ifndef CONFIG_SMP
|
|
#ifndef CONFIG_SMP
|
|
if(!fpt) {
|
|
if(!fpt) {
|
|
#else
|
|
#else
|
|
- if(!(fpt->thread_info->flags & _TIF_USEDFPU)) {
|
|
|
|
|
|
+ if(!(task_thread_info(fpt)->flags & _TIF_USEDFPU)) {
|
|
#endif
|
|
#endif
|
|
fpsave(&fake_regs[0], &fake_fsr, &fake_queue[0], &fake_depth);
|
|
fpsave(&fake_regs[0], &fake_fsr, &fake_queue[0], &fake_depth);
|
|
regs->psr &= ~PSR_EF;
|
|
regs->psr &= ~PSR_EF;
|
|
@@ -334,7 +334,7 @@ void do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc,
|
|
/* nope, better SIGFPE the offending process... */
|
|
/* nope, better SIGFPE the offending process... */
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
#ifdef CONFIG_SMP
|
|
- fpt->thread_info->flags &= ~_TIF_USEDFPU;
|
|
|
|
|
|
+ task_thread_info(fpt)->flags &= ~_TIF_USEDFPU;
|
|
#endif
|
|
#endif
|
|
if(psr & PSR_PS) {
|
|
if(psr & PSR_PS) {
|
|
/* The first fsr store/load we tried trapped,
|
|
/* The first fsr store/load we tried trapped,
|