Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Illegal instruction - a workaround or fix ?
@ 2001-03-11 18:16 Florian Lohoff
  2001-03-12 11:21 ` Ralf Baechle
  0 siblings, 1 reply; 11+ messages in thread
From: Florian Lohoff @ 2001-03-11 18:16 UTC (permalink / raw)
  To: linux-mips


Hi,
i seem to get the illegal instruction stuff killed when
doing this.

diff -u -r1.17 sysmips.c
--- arch/mips/kernel/sysmips.c	2001/02/09 21:05:46	1.17
+++ arch/mips/kernel/sysmips.c	2001/03/11 16:11:30
@@ -111,13 +111,14 @@
 
 		((struct pt_regs *)&cmd)->regs[2] = tmp;
 		((struct pt_regs *)&cmd)->regs[7] = 0;
-
+#if 0
 		__asm__ __volatile__(
 			"move\t$29, %0\n\t"
 			"j\to32_ret_from_sys_call"
 			: /* No outputs */
 			: "r" (&cmd));
 		/* Unreached */
+#endif
 	}
 
 	case MIPS_FIXADE:


Could someone please explain me the difference betweeen "handle_sys"
which leads to "o32_ret_from_sys_call" and ... which leads to
"ret_from_sys_call".

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
     Why is it called "common sense" when nobody seems to have any?

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-05-02 13:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-11 18:16 Illegal instruction - a workaround or fix ? Florian Lohoff
2001-03-12 11:21 ` Ralf Baechle
2001-03-12 13:41   ` Florian Lohoff
2001-04-20 19:05     ` Pete Popov
2001-04-20 19:18       ` Ralf Baechle
2001-04-20 19:19         ` Pete Popov
2001-04-20 19:48           ` Florian Lohoff
2001-04-20 19:58       ` Florian Lohoff
2001-04-30  9:34         ` Maciej W. Rozycki
2001-04-30 20:24           ` Ralf Baechle
2001-05-02 13:21             ` Maciej W. Rozycki

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