Skip to content

Commit

Permalink
MIPS: kernel: cps-vec: Replace KSEG0 with CKSEG0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Markos Chandras authored and Ralf Baechle committed Jul 9, 2015
1 parent 0586ac7 commit 717f142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/kernel/cps-vec.S
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ not_nmi:
mul t1, t1, t0
mul t1, t1, t2

li a0, KSEG0
li a0, CKSEG0
add a1, a0, t1
1: cache Index_Store_Tag_I, 0(a0)
add a0, a0, t0
Expand All @@ -134,7 +134,7 @@ icache_done:
mul t1, t1, t0
mul t1, t1, t2

li a0, KSEG0
li a0, CKSEG0
addu a1, a0, t1
subu a1, a1, t0
1: cache Index_Store_Tag_D, 0(a0)
Expand Down

0 comments on commit 717f142

Please sign in to comment.