Skip to content

Commit 717f142

Browse files
Markos Chandrasralfbaechle
authored andcommitted
MIPS: kernel: cps-vec: Replace KSEG0 with CKSEG0
In preparation for 64-bit CPS support, we replace KSEG0 with CKSEG0 so 64-bit kernels can be supported. Cc: <stable@vger.kernel.org> # 3.16+ Reviewed-by: Paul Burton <paul.burton@imgtec.com> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Cc: stable@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/10590/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 0586ac7 commit 717f142

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/mips/kernel/cps-vec.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ not_nmi:
107107
mul t1, t1, t0
108108
mul t1, t1, t2
109109

110-
li a0, KSEG0
110+
li a0, CKSEG0
111111
add a1, a0, t1
112112
1: cache Index_Store_Tag_I, 0(a0)
113113
add a0, a0, t0
@@ -134,7 +134,7 @@ icache_done:
134134
mul t1, t1, t0
135135
mul t1, t1, t2
136136

137-
li a0, KSEG0
137+
li a0, CKSEG0
138138
addu a1, a0, t1
139139
subu a1, a1, t0
140140
1: cache Index_Store_Tag_D, 0(a0)

0 commit comments

Comments
 (0)