summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-05-28 09:54:30 (GMT)
committerVineet Gupta <vgupta@synopsys.com>2013-06-22 13:53:23 (GMT)
commit1898a959b7512fcf6fa9f436ac8c403fab7255c3 (patch)
treee990d920414c458af317afb08f53c7f9e05404b3 /arch/arc/include/asm
parent3ebedbb2fdf730b7e5e2417dbd37faee6304bfb5 (diff)
downloadlinux-fsl-qoriq-1898a959b7512fcf6fa9f436ac8c403fab7255c3.tar.xz
ARC: Entry Handler tweaks: Avoid hardcoded LIMMS for ECR values
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm')
-rw-r--r--arch/arc/include/asm/arcregs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arc/include/asm/arcregs.h b/arch/arc/include/asm/arcregs.h
index 6addeec..122e9af 100644
--- a/arch/arc/include/asm/arcregs.h
+++ b/arch/arc/include/asm/arcregs.h
@@ -68,6 +68,11 @@
#define ECR_C_PROTV_XCHG 0x03
#define ECR_C_PROTV_MISALIG_DATA 0x04
+#define ECR_C_BIT_PROTV_MISALIG_DATA 10
+
+/* Machine Check Cause Code Values */
+#define ECR_C_MCHK_DUP_TLB 0x01
+
/* DTLB Miss Exception Cause Code Values */
#define ECR_C_BIT_DTLB_LD_MISS 8
#define ECR_C_BIT_DTLB_ST_MISS 9