[patch 3/5] SiByte fixes for 2.6.12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Toolchain compat fix: gas 2.12.1 doesn't understand two-argument jalr,
and the $ra is redundant anyways.

Signed-Off-By: Andrew Isaacson <adi@xxxxxxxxxxxx>

Index: linux-2.6-work/arch/mips/lib/uncached.c
===================================================================
--- linux-2.6-work.orig/arch/mips/lib/uncached.c	2005-06-22 11:17:21.000000000 -0700
+++ linux-2.6-work/arch/mips/lib/uncached.c	2005-06-22 11:17:31.000000000 -0700
@@ -26,7 +26,7 @@
 	__asm__ __volatile__ (
 		"	move $16, $sp\n"
 		"	move $sp, %1\n"
-		"	jalr $ra, %2\n"
+		"	jalr %2\n"
 		"	move $sp, $16"
 		: "=&r" (ret)
 		: "r" (usp), "r" (ufunc)

--




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux