···200 /* Cook up an idler for this guy. */201 p = fork_idle(i);202 cpucount++;203- current_set[i] = p->thread_info;204 for (no = 0; !cpu_find_by_instance(no, NULL, &mid)205 && mid != i; no++) ;206
···200 /* Cook up an idler for this guy. */201 p = fork_idle(i);202 cpucount++;203+ current_set[i] = task_thread_info(p);204 for (no = 0; !cpu_find_by_instance(no, NULL, &mid)205 && mid != i; no++) ;206
+1-1
arch/sparc/kernel/sun4m_smp.c
···173 /* Cook up an idler for this guy. */174 p = fork_idle(i);175 cpucount++;176- current_set[i] = p->thread_info;177 /* See trampoline.S for details... */178 entry += ((i-1) * 3);179
···173 /* Cook up an idler for this guy. */174 p = fork_idle(i);175 cpucount++;176+ current_set[i] = task_thread_info(p);177 /* See trampoline.S for details... */178 entry += ((i-1) * 3);179
+2-2
arch/sparc/kernel/traps.c
···291#ifndef CONFIG_SMP292 if(!fpt) {293#else294- if(!(fpt->thread_info->flags & _TIF_USEDFPU)) {295#endif296 fpsave(&fake_regs[0], &fake_fsr, &fake_queue[0], &fake_depth);297 regs->psr &= ~PSR_EF;···334 /* nope, better SIGFPE the offending process... */335336#ifdef CONFIG_SMP337- fpt->thread_info->flags &= ~_TIF_USEDFPU;338#endif339 if(psr & PSR_PS) {340 /* The first fsr store/load we tried trapped,
···291#ifndef CONFIG_SMP292 if(!fpt) {293#else294+ if(!(task_thread_info(fpt)->flags & _TIF_USEDFPU)) {295#endif296 fpsave(&fake_regs[0], &fake_fsr, &fake_queue[0], &fake_depth);297 regs->psr &= ~PSR_EF;···334 /* nope, better SIGFPE the offending process... */335336#ifdef CONFIG_SMP337+ task_thread_info(fpt)->flags &= ~_TIF_USEDFPU;338#endif339 if(psr & PSR_PS) {340 /* The first fsr store/load we tried trapped,