]> err.no Git - linux-2.6/commitdiff
Get 64-bit right in the kgdb stub.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 18 Oct 2005 12:25:29 +0000 (13:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:43 +0000 (19:32 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/gdb-low.S

index 512bedbfa7b9ef0a36629193c19eb6b9d56ce129..83b8986f94011b0113d7d686535461c8bcd76275 100644 (file)
                /*
                 * Called from user mode, go somewhere else.
                 */
-               lui     k1, %hi(saved_vectors)
                mfc0    k0, CP0_CAUSE
                andi    k0, k0, 0x7c
                add     k1, k1, k0
-               lw      k0, %lo(saved_vectors)(k1)
+               PTR_L   k0, saved_vectors(k1)
                jr      k0
                nop
 1:
                move    k0, sp
-               subu    sp, k1, GDB_FR_SIZE*2   # see comment above
+               PTR_SUBU sp, k1, GDB_FR_SIZE*2  # see comment above
                LONG_S  k0, GDB_FR_REG29(sp)
                LONG_S  $2, GDB_FR_REG2(sp)