Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c865415838146d83c92e4c1ae69aff45ef9f35f8
Commit:     c865415838146d83c92e4c1ae69aff45ef9f35f8
Parent:     b67360db143448be1f6d68835c6d0cc43837667f
Author:     Marc Gauthier <[EMAIL PROTECTED]>
AuthorDate: Fri Sep 21 16:38:09 2007 -0700
Committer:  Chris Zankel <[EMAIL PROTECTED]>
CommitDate: Wed Feb 13 17:04:56 2008 -0800

    [XTENSA] Prevent inlining ISS platform asm constructs
    
    The simcall asm macro assumes Windowed ABI parameter passing
    in registers, and doesn't work if its containing function gets
    inlined.  This fix prevents that from happening.
    
    Signed-off-by: Marc Gauthier <[EMAIL PROTECTED]>
---
 arch/xtensa/platforms/iss/console.c |    1 +
 arch/xtensa/platforms/iss/network.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/xtensa/platforms/iss/console.c 
b/arch/xtensa/platforms/iss/console.c
index 854677d..9141e36 100644
--- a/arch/xtensa/platforms/iss/console.c
+++ b/arch/xtensa/platforms/iss/console.c
@@ -43,6 +43,7 @@ static DEFINE_SPINLOCK(timer_lock);
 
 int errno;
 
+static int __simc (int a, int b, int c, int d, int e, int f) 
__attribute__((__noinline__));
 static int __simc (int a, int b, int c, int d, int e, int f)
 {
        int ret;
diff --git a/arch/xtensa/platforms/iss/network.c 
b/arch/xtensa/platforms/iss/network.c
index d89fb18..a2e2522 100644
--- a/arch/xtensa/platforms/iss/network.c
+++ b/arch/xtensa/platforms/iss/network.c
@@ -107,6 +107,7 @@ struct iss_net_private {
 
 static int errno;
 
+static int __simc (int a, int b, int c, int d, int e, int f) 
__attribute__((__noinline__));
 static int __simc (int a, int b, int c, int d, int e, int f)
 {
        int ret;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to