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 | 41c594a | 2006-04-05 09:45:45 +0100 | [diff] [blame] | 11 | extern cpumask_t mt_fpu_cpumask; |
| 12 | extern unsigned long mt_fpemul_threshold; |
| 13 | |
| 14 | extern void mips_mt_regdump(unsigned long previous_mvpcontrol_value); |
| 15 | extern void mips_mt_set_cpuoptions(void); |
| 16 | |
Ralf Baechle | 27a3bba | 2007-02-07 13:48:59 +0000 | [diff] [blame] | 17 | struct class; |
| 18 | extern struct class *mt_class; |
| 19 | |
Ralf Baechle | 41c594a | 2006-04-05 09:45:45 +0100 | [diff] [blame] | 20 | #endif /* __ASM_MIPS_MT_H */ |