maltasmp.h 682 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * There are several SMP models supported
  3. * SMTC is mutually exclusive to other options (atm)
  4. */
  5. #if defined(CONFIG_MIPS_MT_SMTC)
  6. #define malta_smtc 1
  7. #define malta_cmp 0
  8. #define malta_smvp 0
  9. #else
  10. #define malta_smtc 0
  11. #if defined(CONFIG_MIPS_CMP)
  12. extern int gcmp_present;
  13. #define malta_cmp gcmp_present
  14. #else
  15. #define malta_cmp 0
  16. #endif
  17. /* FIXME: should become COMFIG_MIPS_MT_SMVP */
  18. #if defined(CONFIG_MIPS_MT_SMP)
  19. #define malta_smvp 1
  20. #else
  21. #define malta_smvp 0
  22. #endif
  23. #endif
  24. #include <asm/mipsregs.h>
  25. #include <asm/mipsmtregs.h>
  26. /* malta_smtc */
  27. #include <asm/smtc.h>
  28. #include <asm/smtc_ipi.h>
  29. /* malta_cmp */
  30. #include <asm/cmp.h>
  31. /* malta_smvp */
  32. #include <asm/smvp.h>