aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/pacache.S
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@parisc-linux.org>2005-10-21 22:56:14 -0400
committerKyle McMartin <kyle@parisc-linux.org>2005-10-21 22:56:14 -0400
commite635c96ed6c972e1b3cb0c0fc3681c1204697287 (patch)
tree7bae8401ea7ed96881341b6c4793985d79cf6839 /arch/parisc/kernel/pacache.S
parent9b3b331d0322b60de1bde20528bf974f62804ffa (diff)
[PARISC] Explicitly specify sr4 when flushing kernel space
Specify sr4 when flushing kernel space (we could equally well use sr5-7, but must not use sr0). Signed-off-by: Matthew Wilcox <willy@parisc-linux.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/kernel/pacache.S')
-rw-r--r--arch/parisc/kernel/pacache.S34
1 files changed, 17 insertions, 17 deletions
diff --git a/arch/parisc/kernel/pacache.S b/arch/parisc/kernel/pacache.S
index 08cde5addfca..9534ee17b9be 100644
--- a/arch/parisc/kernel/pacache.S
+++ b/arch/parisc/kernel/pacache.S
@@ -949,23 +949,23 @@ flush_kernel_icache_page:
949 sub %r25, %r23, %r25 949 sub %r25, %r23, %r25
950 950
951 951
9521: fic,m %r23(%r26) 9521: fic,m %r23(%sr4, %r26)
953 fic,m %r23(%r26) 953 fic,m %r23(%sr4, %r26)
954 fic,m %r23(%r26) 954 fic,m %r23(%sr4, %r26)
955 fic,m %r23(%r26) 955 fic,m %r23(%sr4, %r26)
956 fic,m %r23(%r26) 956 fic,m %r23(%sr4, %r26)
957 fic,m %r23(%r26) 957 fic,m %r23(%sr4, %r26)
958 fic,m %r23(%r26) 958 fic,m %r23(%sr4, %r26)
959 fic,m %r23(%r26) 959 fic,m %r23(%sr4, %r26)
960 fic,m %r23(%r26) 960 fic,m %r23(%sr4, %r26)
961 fic,m %r23(%r26) 961 fic,m %r23(%sr4, %r26)
962 fic,m %r23(%r26) 962 fic,m %r23(%sr4, %r26)
963 fic,m %r23(%r26) 963 fic,m %r23(%sr4, %r26)
964 fic,m %r23(%r26) 964 fic,m %r23(%sr4, %r26)
965 fic,m %r23(%r26) 965 fic,m %r23(%sr4, %r26)
966 fic,m %r23(%r26) 966 fic,m %r23(%sr4, %r26)
967 CMPB<< %r26, %r25, 1b 967 CMPB<< %r26, %r25, 1b
968 fic,m %r23(%r26) 968 fic,m %r23(%sr4, %r26)
969 969
970 sync 970 sync
971 bv %r0(%r2) 971 bv %r0(%r2)
@@ -987,7 +987,7 @@ flush_kernel_icache_range_asm:
987 ANDCM %r26, %r21, %r26 987 ANDCM %r26, %r21, %r26
988 988
9891: CMPB<<,n %r26, %r25, 1b 9891: CMPB<<,n %r26, %r25, 1b
990 fic,m %r23(%r26) 990 fic,m %r23(%sr4, %r26)
991 991
992 sync 992 sync
993 bv %r0(%r2) 993 bv %r0(%r2)