]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/cpu-features.h
Merge branch 'for-2.6.26' of git://git.kernel.org/pub/scm/linux/kernel/git/jwboyer...
[linux-2.6-omap-h63xx.git] / include / asm-sh / cpu-features.h
index e398947ec01df7b97963e47fe460544ec7a5cf30..86308aa3973180867a7b30a2f95e43f6137e54c2 100644 (file)
@@ -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 */
@@ -11,5 +19,7 @@
 #define CPU_HAS_PERF_COUNTER   0x0010  /* Hardware performance counters */
 #define CPU_HAS_PTEA           0x0020  /* PTEA register */
 #define CPU_HAS_LLSC           0x0040  /* movli.l/movco.l */
+#define CPU_HAS_L2_CACHE       0x0080  /* Secondary cache / URAM */
+#define CPU_HAS_OP32           0x0100  /* 32-bit instruction support */
 
 #endif /* __ASM_SH_CPU_FEATURES_H */