Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
3bffe736d9
commit
e027802e98
|
@ -121,11 +121,14 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
||||||
cpu_has_divec ? "yes" : "no");
|
cpu_has_divec ? "yes" : "no");
|
||||||
seq_printf(m, "hardware watchpoint\t: %s\n",
|
seq_printf(m, "hardware watchpoint\t: %s\n",
|
||||||
cpu_has_watch ? "yes" : "no");
|
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_mips16 ? " mips16" : "",
|
||||||
cpu_has_mdmx ? " mdmx" : "",
|
cpu_has_mdmx ? " mdmx" : "",
|
||||||
cpu_has_mips3d ? " mips3d" : "",
|
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",
|
sprintf(fmt, "VCE%%c exceptions\t\t: %s\n",
|
||||||
cpu_has_vce ? "%u" : "not available");
|
cpu_has_vce ? "%u" : "not available");
|
||||||
|
|
Loading…
Reference in a new issue