linux-mips
[Top] [All Lists]

[patch 3/5] SiByte fixes for 2.6.12

To: linux-mips@linux-mips.org
Subject: [patch 3/5] SiByte fixes for 2.6.12
From: "Andrew Isaacson" <adi@broadcom.com>
Date: Wed, 22 Jun 2005 16:01:37 -0700
In-reply-to: <20050622230003.GA17725@broadcom.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
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@broadcom.com>

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)

--



<Prev in Thread] Current Thread [Next in Thread>