diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-08-16 12:39:15 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:05 -0400 |
commit | e027802e985f1cca752bf3b2e7eecae05031699f (patch) | |
tree | 6ef2a3245e10a1438cf731b0500b390ad882ae46 /arch/mips/kernel/proc.c | |
parent | 3bffe736d93ce527a27fd5a4845fb2a0e82fcd99 (diff) |
Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/proc.c')
-rw-r--r-- | arch/mips/kernel/proc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c index e46a92d01d51..f2b0446e44bc 100644 --- a/arch/mips/kernel/proc.c +++ b/arch/mips/kernel/proc.c | |||
@@ -121,11 +121,14 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
121 | cpu_has_divec ? "yes" : "no"); | 121 | cpu_has_divec ? "yes" : "no"); |
122 | seq_printf(m, "hardware watchpoint\t: %s\n", | 122 | seq_printf(m, "hardware watchpoint\t: %s\n", |
123 | cpu_has_watch ? "yes" : "no"); | 123 | cpu_has_watch ? "yes" : "no"); |
124 | seq_printf(m, "ASEs implemented\t:%s%s%s%s\n", | 124 | seq_printf(m, "ASEs implemented\t:%s%s%s%s%s%s\n", |
125 | cpu_has_mips16 ? " mips16" : "", | 125 | cpu_has_mips16 ? " mips16" : "", |
126 | cpu_has_mdmx ? " mdmx" : "", | 126 | cpu_has_mdmx ? " mdmx" : "", |
127 | cpu_has_mips3d ? " mips3d" : "", | 127 | cpu_has_mips3d ? " mips3d" : "", |
128 | cpu_has_smartmips ? " smartmips" : ""); | 128 | cpu_has_smartmips ? " smartmips" : "", |
129 | cpu_has_dsp ? " dsp" : "", | ||
130 | cpu_has_mipsmt ? " mt" : "" | ||
131 | ); | ||
129 | 132 | ||
130 | sprintf(fmt, "VCE%%c exceptions\t\t: %s\n", | 133 | sprintf(fmt, "VCE%%c exceptions\t\t: %s\n", |
131 | cpu_has_vce ? "%u" : "not available"); | 134 | cpu_has_vce ? "%u" : "not available"); |