diff options
-rw-r--r-- | arch/mips/include/asm/cpu-type.h | 1 | ||||
-rw-r--r-- | arch/mips/include/asm/cpu.h | 2 | ||||
-rw-r--r-- | arch/mips/kernel/idle.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/spram.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/traps.c | 1 | ||||
-rw-r--r-- | arch/mips/mm/c-r4k.c | 1 | ||||
-rw-r--r-- | arch/mips/mm/sc-mips.c | 1 | ||||
-rw-r--r-- | arch/mips/oprofile/common.c | 1 | ||||
-rw-r--r-- | arch/mips/oprofile/op_model_mipsxx.c | 4 |
9 files changed, 12 insertions, 1 deletions
diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h index 00413508da99..02f591bd95ca 100644 --- a/arch/mips/include/asm/cpu-type.h +++ b/arch/mips/include/asm/cpu-type.h | |||
@@ -44,6 +44,7 @@ static inline int __pure __get_cpu_type(const int cpu_type) | |||
44 | case CPU_74K: | 44 | case CPU_74K: |
45 | case CPU_M14KC: | 45 | case CPU_M14KC: |
46 | case CPU_M14KEC: | 46 | case CPU_M14KEC: |
47 | case CPU_INTERAPTIV: | ||
47 | case CPU_PROAPTIV: | 48 | case CPU_PROAPTIV: |
48 | #endif | 49 | #endif |
49 | 50 | ||
diff --git a/arch/mips/include/asm/cpu.h b/arch/mips/include/asm/cpu.h index 60adaad6d5d5..a0ec93054636 100644 --- a/arch/mips/include/asm/cpu.h +++ b/arch/mips/include/asm/cpu.h | |||
@@ -295,7 +295,7 @@ enum cpu_type_enum { | |||
295 | CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_1004K, CPU_74K, | 295 | CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_1004K, CPU_74K, |
296 | CPU_ALCHEMY, CPU_PR4450, CPU_BMIPS32, CPU_BMIPS3300, CPU_BMIPS4350, | 296 | CPU_ALCHEMY, CPU_PR4450, CPU_BMIPS32, CPU_BMIPS3300, CPU_BMIPS4350, |
297 | CPU_BMIPS4380, CPU_BMIPS5000, CPU_JZRISC, CPU_LOONGSON1, CPU_M14KC, | 297 | CPU_BMIPS4380, CPU_BMIPS5000, CPU_JZRISC, CPU_LOONGSON1, CPU_M14KC, |
298 | CPU_M14KEC, CPU_PROAPTIV, | 298 | CPU_M14KEC, CPU_INTERAPTIV, CPU_PROAPTIV, |
299 | 299 | ||
300 | /* | 300 | /* |
301 | * MIPS64 class processors | 301 | * MIPS64 class processors |
diff --git a/arch/mips/kernel/idle.c b/arch/mips/kernel/idle.c index cb2c94f13d01..3553243bf9d6 100644 --- a/arch/mips/kernel/idle.c +++ b/arch/mips/kernel/idle.c | |||
@@ -184,6 +184,7 @@ void __init check_wait(void) | |||
184 | case CPU_24K: | 184 | case CPU_24K: |
185 | case CPU_34K: | 185 | case CPU_34K: |
186 | case CPU_1004K: | 186 | case CPU_1004K: |
187 | case CPU_INTERAPTIV: | ||
187 | case CPU_PROAPTIV: | 188 | case CPU_PROAPTIV: |
188 | cpu_wait = r4k_wait; | 189 | cpu_wait = r4k_wait; |
189 | if (read_c0_config7() & MIPS_CONF7_WII) | 190 | if (read_c0_config7() & MIPS_CONF7_WII) |
diff --git a/arch/mips/kernel/spram.c b/arch/mips/kernel/spram.c index fb72b803b754..dfed8a41c696 100644 --- a/arch/mips/kernel/spram.c +++ b/arch/mips/kernel/spram.c | |||
@@ -206,6 +206,7 @@ void spram_config(void) | |||
206 | case CPU_34K: | 206 | case CPU_34K: |
207 | case CPU_74K: | 207 | case CPU_74K: |
208 | case CPU_1004K: | 208 | case CPU_1004K: |
209 | case CPU_INTERAPTIV: | ||
209 | case CPU_PROAPTIV: | 210 | case CPU_PROAPTIV: |
210 | config0 = read_c0_config(); | 211 | config0 = read_c0_config(); |
211 | /* FIXME: addresses are Malta specific */ | 212 | /* FIXME: addresses are Malta specific */ |
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 39370e1d4362..e0b499694d18 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -1337,6 +1337,7 @@ static inline void parity_protection_init(void) | |||
1337 | case CPU_34K: | 1337 | case CPU_34K: |
1338 | case CPU_74K: | 1338 | case CPU_74K: |
1339 | case CPU_1004K: | 1339 | case CPU_1004K: |
1340 | case CPU_INTERAPTIV: | ||
1340 | case CPU_PROAPTIV: | 1341 | case CPU_PROAPTIV: |
1341 | { | 1342 | { |
1342 | #define ERRCTL_PE 0x80000000 | 1343 | #define ERRCTL_PE 0x80000000 |
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index eded642e1fef..13b549a67a1e 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c | |||
@@ -1106,6 +1106,7 @@ static void probe_pcache(void) | |||
1106 | case CPU_34K: | 1106 | case CPU_34K: |
1107 | case CPU_74K: | 1107 | case CPU_74K: |
1108 | case CPU_1004K: | 1108 | case CPU_1004K: |
1109 | case CPU_INTERAPTIV: | ||
1109 | case CPU_PROAPTIV: | 1110 | case CPU_PROAPTIV: |
1110 | if (current_cpu_type() == CPU_74K) | 1111 | if (current_cpu_type() == CPU_74K) |
1111 | alias_74k_erratum(c); | 1112 | alias_74k_erratum(c); |
diff --git a/arch/mips/mm/sc-mips.c b/arch/mips/mm/sc-mips.c index 317c2497a75c..7a56aee5fce7 100644 --- a/arch/mips/mm/sc-mips.c +++ b/arch/mips/mm/sc-mips.c | |||
@@ -76,6 +76,7 @@ static inline int mips_sc_is_activated(struct cpuinfo_mips *c) | |||
76 | case CPU_34K: | 76 | case CPU_34K: |
77 | case CPU_74K: | 77 | case CPU_74K: |
78 | case CPU_1004K: | 78 | case CPU_1004K: |
79 | case CPU_INTERAPTIV: | ||
79 | case CPU_PROAPTIV: | 80 | case CPU_PROAPTIV: |
80 | case CPU_BMIPS5000: | 81 | case CPU_BMIPS5000: |
81 | if (config2 & (1 << 12)) | 82 | if (config2 & (1 << 12)) |
diff --git a/arch/mips/oprofile/common.c b/arch/mips/oprofile/common.c index efd2eb3d92e3..2a86e38872a7 100644 --- a/arch/mips/oprofile/common.c +++ b/arch/mips/oprofile/common.c | |||
@@ -86,6 +86,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) | |||
86 | case CPU_34K: | 86 | case CPU_34K: |
87 | case CPU_1004K: | 87 | case CPU_1004K: |
88 | case CPU_74K: | 88 | case CPU_74K: |
89 | case CPU_INTERAPTIV: | ||
89 | case CPU_PROAPTIV: | 90 | case CPU_PROAPTIV: |
90 | case CPU_LOONGSON1: | 91 | case CPU_LOONGSON1: |
91 | case CPU_SB1: | 92 | case CPU_SB1: |
diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c index 3e28aaa39bc9..4d94d75ec6f9 100644 --- a/arch/mips/oprofile/op_model_mipsxx.c +++ b/arch/mips/oprofile/op_model_mipsxx.c | |||
@@ -376,6 +376,10 @@ static int __init mipsxx_init(void) | |||
376 | op_model_mipsxx_ops.cpu_type = "mips/74K"; | 376 | op_model_mipsxx_ops.cpu_type = "mips/74K"; |
377 | break; | 377 | break; |
378 | 378 | ||
379 | case CPU_INTERAPTIV: | ||
380 | op_model_mipsxx_ops.cpu_type = "mips/interAptiv"; | ||
381 | break; | ||
382 | |||
379 | case CPU_PROAPTIV: | 383 | case CPU_PROAPTIV: |
380 | op_model_mipsxx_ops.cpu_type = "mips/proAptiv"; | 384 | op_model_mipsxx_ops.cpu_type = "mips/proAptiv"; |
381 | break; | 385 | break; |