MIPS: kernel: cps-vec: Replace KSEG0 with CKSEG0
authorMarkos Chandras <[email protected]>
Wed, 1 Jul 2015 08:13:32 +0000 (09:13 +0100)
committerRalf Baechle <[email protected]>
Thu, 9 Jul 2015 09:15:44 +0000 (11:15 +0200)
In preparation for 64-bit CPS support, we replace KSEG0 with CKSEG0
so 64-bit kernels can be supported.

Cc: <[email protected]> # 3.16+
Reviewed-by: Paul Burton <[email protected]>
Signed-off-by: Markos Chandras <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/10590/
Signed-off-by: Ralf Baechle <[email protected]>
arch/mips/kernel/cps-vec.S

index 21f714a81ebda3ef31dccf40e1eaf2554751bf00..2f95568e0da5b6480304d94c0fde10b7da295ac8 100644 (file)
@@ -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
@@ -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)