summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-08-15 03:06:41 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-08-15 03:06:41 +0900
commit8010fbe7a67c2f993cbb11b9d8b7e98528256dd1 (patch)
tree861fc7d33fe08b33818b9401f2ba1b32edd82505 /arch/sh/kernel
parent112e58471de3431fbd03dee514777ad4a66a77b2 (diff)
downloadblackbird-op-linux-8010fbe7a67c2f993cbb11b9d8b7e98528256dd1.tar.gz
blackbird-op-linux-8010fbe7a67c2f993cbb11b9d8b7e98528256dd1.zip
sh: TLB fast path optimizations for load/store exceptions.
This only bothers with the TLB entry flush in the case of the initial page write exception, as it is unecessary in the case of the load/store exceptions. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/cpu/sh3/entry.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh3/entry.S b/arch/sh/kernel/cpu/sh3/entry.S
index bbaf2bd118e7..a701fac8ed42 100644
--- a/arch/sh/kernel/cpu/sh3/entry.S
+++ b/arch/sh/kernel/cpu/sh3/entry.S
@@ -124,7 +124,7 @@ ENTRY(tlb_miss_store)
.align 2
ENTRY(initial_page_write)
bra call_handle_tlbmiss
- mov #1, r5
+ mov #2, r5
.align 2
ENTRY(tlb_protection_violation_load)
OpenPOWER on IntegriCloud