summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/psr.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/psr.h')
-rw-r--r--arch/sparc/include/asm/psr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/psr.h b/arch/sparc/include/asm/psr.h
index b8c0e5f0a66b..c02c735d4ebe 100644
--- a/arch/sparc/include/asm/psr.h
+++ b/arch/sparc/include/asm/psr.h
@@ -35,6 +35,12 @@
#define PSR_VERS 0x0f000000 /* cpu-version field */
#define PSR_IMPL 0xf0000000 /* cpu-implementation field */
+#define PSR_IMPL_SHIFT 28
+#define PSR_IMPL_SHIFTED_MASK 0xf
+
+#define PSR_IMPL_TI 0x4
+#define PSR_IMPL_LEON 0xf
+
#ifdef __KERNEL__
#ifndef __ASSEMBLY__