From: Ralf Baechle Date: Tue, 16 Aug 2005 16:39:15 +0000 (+0000) Subject: Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e027802e985f1cca752bf3b2e7eecae05031699f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c index e46a92d01d5..f2b0446e44b 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) 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");