summaryrefslogtreecommitdiffstats
path: root/arch/sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 11:24:28 +0200
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 11:24:28 +0200
commit2220d164933a8776d1336c814e3c2e5573256d34 (patch)
tree7cad89b8e9a852092fa169a5d783a7184d10fd69 /arch/sh
parentsh: CPU flags in AT_HWCAP in ELF auxvt. (diff)
downloadlinux-2220d164933a8776d1336c814e3c2e5573256d34.tar.xz
linux-2220d164933a8776d1336c814e3c2e5573256d34.zip
sh: Report movli.l/movco.l capabilities.
Add llsc to cpu_flags[] and comment cpu-features.h. Signed-off-by: Jamie Lenehan <nynaeve@twibble.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r--arch/sh/kernel/setup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index de8df969d6af..6810de3f8ed2 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -413,8 +413,10 @@ const char *get_cpu_subtype(void)
}
#ifdef CONFIG_PROC_FS
+/* Symbolic CPU flags, keep in sync with asm/cpu-features.h */
static const char *cpu_flags[] = {
- "none", "fpu", "p2flush", "mmuassoc", "dsp", "perfctr", "ptea", NULL
+ "none", "fpu", "p2flush", "mmuassoc", "dsp", "perfctr",
+ "ptea", "llsc", NULL
};
static void show_cpuflags(struct seq_file *m)