mips_mt.h 588 B

1234567891011121314151617181920212223242526
  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. #include <linux/cpumask.h>
  9. /*
  10. * How many VPEs and TCs is Linux allowed to use? 0 means no limit.
  11. */
  12. extern int tclimit;
  13. extern int vpelimit;
  14. extern cpumask_t mt_fpu_cpumask;
  15. extern unsigned long mt_fpemul_threshold;
  16. extern void mips_mt_regdump(unsigned long previous_mvpcontrol_value);
  17. extern void mips_mt_set_cpuoptions(void);
  18. struct class;
  19. extern struct class *mt_class;
  20. #endif /* __ASM_MIPS_MT_H */