CVSROOT: /home/cvs
Module name: linux
Changes by: ralf@ftp.linux-mips.org 05/08/16 17:39:15
Modified files:
arch/mips/kernel: proc.c
Log message:
Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo.
diff -urN linux/arch/mips/kernel/proc.c linux/arch/mips/kernel/proc.c
--- linux/arch/mips/kernel/proc.c 2005/07/14 17:47:58 1.59
+++ linux/arch/mips/kernel/proc.c 2005/08/16 16:39:15 1.60
@@ -121,11 +121,14 @@
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 ? " mipsmt" : ""
+ );
sprintf(fmt, "VCE%%c exceptions\t\t: %s\n",
cpu_has_vce ? "%u" : "not available");
|