lkml.org 
[lkml]   [2005]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] PPC64: xmon recursion
From


Hi,

I've had a number of problems with recursive xmon calls, primarily
because longjump was returning incorrectly. The following patch
fixes this problem.

Please review and forward upstream.

--linas

Signed-off-by: Linas Vepstas <linas@linas.org>


===== arch/ppc64/xmon/setjmp.c 1.1 vs edited =====
--- 1.1/arch/ppc64/xmon/setjmp.c 2002-02-14 06:14:36 -06:00
+++ edited/arch/ppc64/xmon/setjmp.c 2004-12-14 17:51:29 -06:00
@@ -73,5 +73,6 @@ xmon_longjmp(long *buf, int val)
ld 2,16(%0)\n\
mtlr 0\n\
mr 3,%1\n\
+ blr \n\
" : : "r" (buf), "r" (val));
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.121 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site