Ralf Baechle | 39b8d52 | 2008-04-28 17:14:26 +0100 | [diff] [blame] | 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 | |
| 25 | #include <asm/mipsregs.h> |
| 26 | #include <asm/mipsmtregs.h> |
| 27 | |
| 28 | /* malta_smtc */ |
| 29 | #include <asm/smtc.h> |
| 30 | #include <asm/smtc_ipi.h> |
| 31 | |
| 32 | /* malta_cmp */ |
| 33 | #include <asm/cmp.h> |
| 34 | |
| 35 | /* malta_smvp */ |
| 36 | #include <asm/smvp.h> |