summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/cpu-features.h
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 /include/asm-sh/cpu-features.h
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 'include/asm-sh/cpu-features.h')
-rw-r--r--include/asm-sh/cpu-features.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-sh/cpu-features.h b/include/asm-sh/cpu-features.h
index e398947ec01d..e1260aae3ee3 100644
--- a/include/asm-sh/cpu-features.h
+++ b/include/asm-sh/cpu-features.h
@@ -3,6 +3,14 @@
/*
* Processor flags
+ *
+ * Note: When adding a new flag, keep cpu_flags[] in
+ * arch/sh/kernel/setup.c in sync so symbolic name
+ * mapping of the processor flags has a chance of being
+ * reasonably accurate.
+ *
+ * These flags are also available through the ELF
+ * auxiliary vector as AT_HWCAP.
*/
#define CPU_HAS_FPU 0x0001 /* Hardware FPU support */
#define CPU_HAS_P2_FLUSH_BUG 0x0002 /* Need to flush the cache in P2 area */