diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-05-05 12:45:59 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:12 -0400 |
commit | 4194318c3941fa9cfaa63dfdab9054fcae5e08d3 (patch) | |
tree | 2b44341a9cb911e34efbb33a35142fd2dcd536ff /arch/mips/kernel/proc.c | |
parent | cd21dfcfbb5c43de54f6be795dde07397da2bc2f (diff) |
Cleanup decoding of MIPSxx config registers.
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 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c index d1290b1ec408..cf31d3952d65 100644 --- a/arch/mips/kernel/proc.c +++ b/arch/mips/kernel/proc.c | |||
@@ -2,7 +2,8 @@ | |||
2 | * linux/arch/mips/kernel/proc.c | 2 | * linux/arch/mips/kernel/proc.c |
3 | * | 3 | * |
4 | * Copyright (C) 1995, 1996, 2001 Ralf Baechle | 4 | * Copyright (C) 1995, 1996, 2001 Ralf Baechle |
5 | * Copyright (C) 2001 MIPS Technologies, Inc. | 5 | * Copyright (C) 2001, 2004 MIPS Technologies, Inc. |
6 | * Copyright (C) 2004 Maciej W. Rozycki | ||
6 | */ | 7 | */ |
7 | #include <linux/config.h> | 8 | #include <linux/config.h> |
8 | #include <linux/delay.h> | 9 | #include <linux/delay.h> |
@@ -118,6 +119,11 @@ static int show_cpuinfo(struct seq_file *m, void *v) | |||
118 | cpu_has_divec ? "yes" : "no"); | 119 | cpu_has_divec ? "yes" : "no"); |
119 | seq_printf(m, "hardware watchpoint\t: %s\n", | 120 | seq_printf(m, "hardware watchpoint\t: %s\n", |
120 | cpu_has_watch ? "yes" : "no"); | 121 | cpu_has_watch ? "yes" : "no"); |
122 | seq_printf(m, "ASEs implemented\t:%s%s%s%s\n", | ||
123 | cpu_has_mips16 ? " mips16" : "", | ||
124 | cpu_has_mdmx ? " mdmx" : "", | ||
125 | cpu_has_mips3d ? " mips3d" : "", | ||
126 | cpu_has_smartmips ? " smartmips" : ""); | ||
121 | 127 | ||
122 | sprintf(fmt, "VCE%%c exceptions\t\t: %s\n", | 128 | sprintf(fmt, "VCE%%c exceptions\t\t: %s\n", |
123 | cpu_has_vce ? "%u" : "not available"); | 129 | cpu_has_vce ? "%u" : "not available"); |