mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PPC64: xmon recursion
@ 2005-01-05 20:27 Linas Vepstas
  0 siblings, 0 replies; only message in thread
From: Linas Vepstas @ 2005-01-05 20:27 UTC (permalink / raw)
  To: akpm; +Cc: paulus, anton, linuxppc64-dev, linux-kernel



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));
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-05 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-05 20:27 [PATCH] PPC64: xmon recursion Linas Vepstas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome