Home
last modified time | relevance | path

Searched refs:last_task_used_math (Results 1 – 25 of 25) sorted by relevance

/linux-2.4.37.9/arch/sh64/kernel/
Dfpu.c154 last_task_used_math ? last_task_used_math->pid : -1); in do_fpu_state_restore()
162 if (last_task_used_math == current) in do_fpu_state_restore()
166 if (last_task_used_math != NULL) { in do_fpu_state_restore()
168 fpsave(&last_task_used_math->thread.fpu.hard); in do_fpu_state_restore()
170 last_task_used_math = current; in do_fpu_state_restore()
Dptrace.c73 if (last_task_used_math == task) { in get_fpu_long()
77 last_task_used_math = 0; in get_fpu_long()
109 } else if (last_task_used_math == task) { in put_fpu_long()
113 last_task_used_math = 0; in put_fpu_long()
Dprocess.c67 struct task_struct *last_task_used_math = NULL; variable
673 if (last_task_used_math == current) { in exit_thread()
674 last_task_used_math = NULL; in exit_thread()
688 if (last_task_used_math == current) { in flush_thread()
689 last_task_used_math = NULL; in flush_thread()
716 if (current == last_task_used_math) { in dump_fpu()
720 last_task_used_math = 0; in dump_fpu()
742 if(last_task_used_math == current) { in copy_thread()
746 last_task_used_math = NULL; in copy_thread()
Dtraps.c648 if (last_task_used_math == current) { in misaligned_fpu_load()
652 last_task_used_math = NULL; in misaligned_fpu_load()
721 if (last_task_used_math == current) { in misaligned_fpu_store()
725 last_task_used_math = NULL; in misaligned_fpu_store()
Dsignal.c223 if (current == last_task_used_math) { in restore_sigcontext_fpu()
224 last_task_used_math = NULL; in restore_sigcontext_fpu()
245 if (current == last_task_used_math) { in setup_sigcontext_fpu()
249 last_task_used_math = NULL; in setup_sigcontext_fpu()
/linux-2.4.37.9/arch/ppc64/kernel/
Dprocess.c53 struct task_struct *last_task_used_math = NULL; variable
89 giveup_fpu(last_task_used_math); in enable_kernel_fp()
195 printk("\nlast math %p last altivec %p", last_task_used_math, in show_regs()
226 if (last_task_used_math == current) in exit_thread()
227 last_task_used_math = NULL; in exit_thread()
236 if (last_task_used_math == current) in flush_thread()
237 last_task_used_math = NULL; in flush_thread()
347 if (last_task_used_math == current) in start_thread()
348 last_task_used_math = 0; in start_thread()
Dsignal32.c305 if (last_task_used_math == current) in sys32_sigreturn()
306 last_task_used_math = NULL; in sys32_sigreturn()
496 if (last_task_used_math == current) in sys32_rt_sigreturn()
497 last_task_used_math = NULL; in sys32_rt_sigreturn()
Dsignal.c278 if (last_task_used_math == current) in restore_sigcontext()
279 last_task_used_math = NULL; in restore_sigcontext()
Dhead.S1673 LOADBASE(r3,last_task_used_math)
1674 ld r4,last_task_used_math@l(r3)
1701 std r4,last_task_used_math@l(r3)
1752 LOADBASE(r4,last_task_used_math)
1753 std r5,last_task_used_math@l(r4)
Dsys_ppc32.c4036 if (last_task_used_math == current) in start_thread32()
4037 last_task_used_math = 0; in start_thread32()
/linux-2.4.37.9/arch/ppc/kernel/
Dprocess.c47 struct task_struct *last_task_used_math = NULL; variable
173 giveup_fpu(last_task_used_math); in enable_kernel_fp()
269 printk("\nlast math %p last altivec %p", last_task_used_math, in show_regs()
310 if (last_task_used_math == current) in exit_thread()
311 last_task_used_math = NULL; in exit_thread()
318 if (last_task_used_math == current) in flush_thread()
319 last_task_used_math = NULL; in flush_thread()
410 if (last_task_used_math == current) in start_thread()
411 last_task_used_math = 0; in start_thread()
Dhead.S907 addis r3,r6,last_task_used_math@ha
908 lwz r4,last_task_used_math@l(r3)
935 stw r4,last_task_used_math@l(r3)
1131 lis r4,last_task_used_math@ha
1132 stw r5,last_task_used_math@l(r4)
/linux-2.4.37.9/arch/sparc/kernel/
Dprocess.c65 struct task_struct *last_task_used_math = NULL; variable
343 if(last_task_used_math == current) {
352 last_task_used_math = NULL;
366 if(last_task_used_math == current) {
375 last_task_used_math = NULL;
437 if(last_task_used_math == current) {
581 if (current == last_task_used_math) {
585 last_task_used_math = 0;
Dtraps.c237 if(last_task_used_math == current) in do_fpd_trap()
239 if(last_task_used_math) { in do_fpd_trap()
241 struct task_struct *fptask = last_task_used_math; in do_fpd_trap()
245 last_task_used_math = current; in do_fpd_trap()
279 struct task_struct *fpt = last_task_used_math;
371 last_task_used_math = NULL;
Dsignal.c234 if (current == last_task_used_math) { in restore_fpu_state()
235 last_task_used_math = 0; in restore_fpu_state()
596 if (current == last_task_used_math) { in save_fpu_state()
600 last_task_used_math = 0; in save_fpu_state()
/linux-2.4.37.9/include/asm-sparc/
Dsfp-machine.h180 extern struct task_struct *last_task_used_math;
188 #define FP_ROUNDMODE ((last_task_used_math->thread.fsr >> 30) & 0x3)
204 #define FP_INHIBIT_RESULTS ((last_task_used_math->thread.fsr >> 23) & _fex)
Dprocessor.h194 extern struct task_struct *last_task_used_math;
Dsystem.h78 #define SWITCH_DO_LAZY_FPU if(last_task_used_math != next) next->thread.kregs->psr&=~PSR_EF;
/linux-2.4.37.9/include/asm-s390/
Dprocessor.h56 extern struct task_struct *last_task_used_math;
/linux-2.4.37.9/include/asm-s390x/
Dprocessor.h58 extern struct task_struct *last_task_used_math;
/linux-2.4.37.9/include/asm-sh64/
Dprocessor.h273 extern struct task_struct *last_task_used_math;
Dsystem.h126 if (last_task_used_math != next) { \
/linux-2.4.37.9/arch/ppc/mm/
Dinit.c209 if ( p == last_task_used_math ) in show_mem()
/linux-2.4.37.9/include/asm-ppc64/
Dprocessor.h620 extern struct task_struct *last_task_used_math;
/linux-2.4.37.9/include/asm-ppc/
Dprocessor.h806 extern struct task_struct *last_task_used_math;