Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / arch / mips / include / asm / mips_mt.h
blobaa4cca060e0a6dacc0c1433f123d181f8962702c
1 /*
2 * Definitions and declarations for MIPS MT support that are common between
3 * the VSMP, and AP/SP kernel models.
4 */
5 #ifndef __ASM_MIPS_MT_H
6 #define __ASM_MIPS_MT_H
8 #include <linux/cpumask.h>
11 * How many VPEs and TCs is Linux allowed to use? 0 means no limit.
13 extern int tclimit;
14 extern int vpelimit;
16 extern cpumask_t mt_fpu_cpumask;
17 extern unsigned long mt_fpemul_threshold;
19 extern void mips_mt_regdump(unsigned long previous_mvpcontrol_value);
21 #ifdef CONFIG_MIPS_MT
22 extern void mips_mt_set_cpuoptions(void);
23 #else
24 static inline void mips_mt_set_cpuoptions(void) { }
25 #endif
27 struct class;
28 extern struct class *mt_class;
30 #endif /* __ASM_MIPS_MT_H */