]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 16 Aug 2005 16:39:15 +0000 (16:39 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:05 +0000 (19:32 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/proc.c

index e46a92d01d51c277b75ab8bada526c6aeb665dc5..f2b0446e44bc53f30109261c10ad451d7f52c795 100644 (file)
@@ -121,11 +121,14 @@ static int show_cpuinfo(struct seq_file *m, void *v)
                      cpu_has_divec ? "yes" : "no");
        seq_printf(m, "hardware watchpoint\t: %s\n",
                      cpu_has_watch ? "yes" : "no");
-       seq_printf(m, "ASEs implemented\t:%s%s%s%s\n",
+       seq_printf(m, "ASEs implemented\t:%s%s%s%s%s%s\n",
                      cpu_has_mips16 ? " mips16" : "",
                      cpu_has_mdmx ? " mdmx" : "",
                      cpu_has_mips3d ? " mips3d" : "",
-                     cpu_has_smartmips ? " smartmips" : "");
+                     cpu_has_smartmips ? " smartmips" : "",
+                     cpu_has_dsp ? " dsp" : "",
+                     cpu_has_mipsmt ? " mt" : ""
+               );
 
        sprintf(fmt, "VCE%%c exceptions\t\t: %s\n",
                cpu_has_vce ? "%u" : "not available");