blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / mips / include / asm / mips_mt.h
blobf6ba004a7711f0851bc3e31862dd3416ea24d92e
1 /*
2 * Definitions and decalrations 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 */