Ralf Baechle | 41c594a | 2006-04-05 09:45:45 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Definitions and decalrations for MIPS MT support |
| 3 | * that are common between SMTC, VSMP, and/or AP/SP |
| 4 | * kernel models. |
| 5 | */ |
| 6 | #ifndef __ASM_MIPS_MT_H |
| 7 | #define __ASM_MIPS_MT_H |
| 8 | |
Ralf Baechle | 32fac80 | 2007-03-04 18:23:48 +0000 | [diff] [blame] | 9 | #include <linux/cpumask.h> |
| 10 | |
Ralf Baechle | 07cc0c9 | 2007-07-27 19:31:10 +0100 | [diff] [blame] | 11 | /* |
| 12 | * How many VPEs and TCs is Linux allowed to use? 0 means no limit. |
| 13 | */ |
| 14 | extern int tclimit; |
| 15 | extern int vpelimit; |
| 16 | |
Ralf Baechle | 41c594a | 2006-04-05 09:45:45 +0100 | [diff] [blame] | 17 | extern cpumask_t mt_fpu_cpumask; |
| 18 | extern unsigned long mt_fpemul_threshold; |
| 19 | |
| 20 | extern void mips_mt_regdump(unsigned long previous_mvpcontrol_value); |
| 21 | extern void mips_mt_set_cpuoptions(void); |
| 22 | |
Ralf Baechle | 27a3bba | 2007-02-07 13:48:59 +0000 | [diff] [blame] | 23 | struct class; |
| 24 | extern struct class *mt_class; |
| 25 | |
Ralf Baechle | 41c594a | 2006-04-05 09:45:45 +0100 | [diff] [blame] | 26 | #endif /* __ASM_MIPS_MT_H */ |