summaryrefslogtreecommitdiff
path: root/sys/src/9/teg2
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-09-17 16:34:30 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-09-17 16:34:30 +0200
commit5d8300d2ebaaba3a648d25015cadd80ddd2d016e (patch)
tree685419614a1f9939f1812e1d73c937d5739ea3ff /sys/src/9/teg2
parentce80c5029e3885836ac3077a2219093e251c4993 (diff)
teg2: fix wrong l2 setshift address in wholecache() (from sources)
Diffstat (limited to 'sys/src/9/teg2')
-rw-r--r--sys/src/9/teg2/cache.v7.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/teg2/cache.v7.s b/sys/src/9/teg2/cache.v7.s
index 15c94b6d4..8fde9ee85 100644
--- a/sys/src/9/teg2/cache.v7.s
+++ b/sys/src/9/teg2/cache.v7.s
@@ -164,7 +164,7 @@ TEXT wholecache+0(SB), $-4
MOVW $(CACHECONF+4), R4 /* +4 = l1setsh */
CMP $0, R8 /* cache == 1? */
ADD.NE $(4*2), R3 /* no, assume l2: +8 = l2waysh */
- ADD.NE $(4*2), R3 /* +12 = l2setsh */
+ ADD.NE $(4*2), R4 /* +12 = l2setsh */
MOVW R14, R0 /* get R14's segment ... */
AND $KSEGM, R0