]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - include/asm-mips/mach-ip27/kernel-entry-init.h
[MIPS] Always do the ARC64_TWIDDLE_PC thing.
[linux-3.10.git] / include / asm-mips / mach-ip27 / kernel-entry-init.h
index c1a10314b317ccf441b6a2aba38220e35c3e117a..624d66c7f290268d08916f056d43451c124aeefc 100644 (file)
        lh      t1, KV_RO_NASID_OFFSET(t0)
        lh      t2, KV_RW_NASID_OFFSET(t0)
        MAPPED_KERNEL_SETUP_TLB
-       ARC64_TWIDDLE_PC
+
+       /*
+        * We might not get launched at the address the kernel is linked to,
+        * so we jump there.
+        */
+       PTR_LA  t0, 0f
+       jr      t0
+0:
        .endm
 
 #endif /* __ASM_MACH_IP27_KERNEL_ENTRY_H */