From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5f4a597334e47a7945499f3259085916.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199705231234.FAA01649@wasatch.ps.uci.edu> Date: Fri, 23 May 1997 14:14:59 +0200 (CEST) From: Andreas Johansson Subject: Re: LKMs and installing syscalls on Linux/alpha 2.0.27 (resend) In-Reply-To: <199705222040.PAA20082@stommel.tamu.edu> On Thu, 22 May 1997, Richard Henderson wrote: > We can still get things right, but we have to do them a bit > earlier. This is against 2.1.36, but I think things are > unchanged from 2.0.0 in the vicinity. > > --- entry.S.orig Thu May 22 15:31:23 1997 > +++ entry.S Thu May 22 15:32:19 1997 > @@ -512,6 +512,7 @@ > beq $4,1f > ldq $27,0($5) > 1: jsr $26,($27),do_entSys > + ldgp $29,0($26) > blt $0,syscall_error /* the call failed */ > stq $0,0($30) > stq $31,72($30) /* a3=0 => no error */ > > I'm not at my machine, so this is untried, but I fail to see > what could go wrong. ;-) Yep, this patch does the job. The LKM installed syscall worked just fine with it. -- <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> : E-mail: ajo@wopr.campus.luth.se : : S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN : : Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! : <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com