summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 18:24:28 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 18:24:28 +0900
commit2220d164933a8776d1336c814e3c2e5573256d34 (patch)
tree7cad89b8e9a852092fa169a5d783a7184d10fd69 /arch
parent315bb96824149614efe4844ded077a13fc908880 (diff)
downloadop-kernel-dev-2220d164933a8776d1336c814e3c2e5573256d34.zip
op-kernel-dev-2220d164933a8776d1336c814e3c2e5573256d34.tar.gz
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')
-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 de8df96..6810de3 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)
OpenPOWER on IntegriCloud