summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-07-01 12:42:28 (GMT)
committerVineet Gupta <vgupta@synopsys.com>2013-08-30 04:52:48 (GMT)
commit483e9bcb01432ce66448c214bd0afc231da48b4b (patch)
tree8578aa5f19fd89836aad6da90246bfbf00cefc16 /arch/arc/include/asm
parentd091fcb97ff48a5cb6de19ad0881fb2c8e76dbc0 (diff)
downloadlinux-fsl-qoriq-483e9bcb01432ce66448c214bd0afc231da48b4b.tar.xz
ARC: MMUv4 preps/3 - Abstract out TLB Insert/Delete
This reorganizes the current TLB operations into psuedo-ops to better pair with MMUv4's native Insert/Delete operations Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm')
-rw-r--r--arch/arc/include/asm/mmu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/include/asm/mmu.h b/arch/arc/include/asm/mmu.h
index 7c03fe6..d14da3d 100644
--- a/arch/arc/include/asm/mmu.h
+++ b/arch/arc/include/asm/mmu.h
@@ -32,6 +32,8 @@
/* Error code if probe fails */
#define TLB_LKUP_ERR 0x80000000
+#define TLB_DUP_ERR (TLB_LKUP_ERR | 0x00000001)
+
/* TLB Commands */
#define TLBWrite 0x1
#define TLBRead 0x2