aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/processor.h')
-rw-r--r--arch/mips/include/asm/processor.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h
index f1df4cb4a286..9daa38608cd8 100644
--- a/arch/mips/include/asm/processor.h
+++ b/arch/mips/include/asm/processor.h
@@ -399,4 +399,15 @@ unsigned long get_wchan(struct task_struct *p);
399 399
400#endif 400#endif
401 401
402/*
403 * Functions & macros implementing the PR_GET_FP_MODE & PR_SET_FP_MODE options
404 * to the prctl syscall.
405 */
406extern int mips_get_process_fp_mode(struct task_struct *task);
407extern int mips_set_process_fp_mode(struct task_struct *task,
408 unsigned int value);
409
410#define GET_FP_MODE(task) mips_get_process_fp_mode(task)
411#define SET_FP_MODE(task,value) mips_set_process_fp_mode(task, value)
412
402#endif /* _ASM_PROCESSOR_H */ 413#endif /* _ASM_PROCESSOR_H */