summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/setup.c
diff options
context:
space:
mode:
authorPaul Mundt2007-05-08 08:45:33 +0200
committerPaul Mundt2007-05-09 03:35:01 +0200
commit074f98df0547b7d15f78db9a17e985da0c22af28 (patch)
treee40128828e295cfabc6a18206df9a0c4ea25c654 /arch/sh/kernel/setup.c
parentsh: Fix PC adjustments for varying opcode length. (diff)
downloadkernel-qcow2-linux-074f98df0547b7d15f78db9a17e985da0c22af28.tar.gz
kernel-qcow2-linux-074f98df0547b7d15f78db9a17e985da0c22af28.tar.xz
kernel-qcow2-linux-074f98df0547b7d15f78db9a17e985da0c22af28.zip
sh: Add 32-bit opcode feature CPU flag.
Add a CPU flag for the CPUs that support 32-bit opcodes, which gets passed down to userspace. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/setup.c')
-rw-r--r--arch/sh/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index 477d2a854fc4..c27729135935 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -431,7 +431,7 @@ const char *get_cpu_subtype(struct sh_cpuinfo *c)
/* Symbolic CPU flags, keep in sync with asm/cpu-features.h */
static const char *cpu_flags[] = {
"none", "fpu", "p2flush", "mmuassoc", "dsp", "perfctr",
- "ptea", "llsc", "l2", NULL
+ "ptea", "llsc", "l2", "op32", NULL
};
static void show_cpuflags(struct seq_file *m, struct sh_cpuinfo *c)