From: Matthew Hudson <mhudson@home.com>
To: parisc-linux@thepuffingroup.com
Subject: [parisc-linux] [Fwd: 2.4.0 do_fork() change, all architectures - take 2]
Date: Fri, 01 Sep 2000 21:28:08 -0500 [thread overview]
Message-ID: <39B065B8.90A2C038@home.com> (raw)
-------- Original Message --------
Subject: 2.4.0 do_fork() change, all architectures - take 2
Resent-Date: Sat, 2 Sep 2000 04:19:10 +0200 (MET DST)
Resent-From: linux-m68k@phil.uni-sb.de
Date: Sat, 02 Sep 2000 13:18:46 +1100
From: Keith Owens <kaos@ocs3.ocs-net>
To: linux-m68k@phil.uni-sb.de
------- Blind-Carbon-Copy
X-Mailer: exmh version 2.1.1 10/15/1999
From: Keith Owens <kaos@ocs.com.au>
To: linux-kernel@vger.kernel.org
Subject: 2.4.0 do_fork() change, all architectures - take 2
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Sat, 02 Sep 2000 13:18:46 +1100
Message-ID: <8893.967861126@ocs3.ocs-net>
DaveM pointed out that my 2.4.0-test8-pre1 do_fork patch would generate
better sparc assembler if the extra parameter to do_fork was added at
the end instead of in the middle. So change all
do_fork(flags,sp,0,®s)
to do_fork(flags,sp,®s,0);
I'm not going to mail the complete patch again, you can get it from
ftp://ftp.ocs.com.au/pub/do_fork-2.4.0-test8-take2.gz. The only
significant difference is this bit to IA64, untested.
Index: 0-test8-pre1.1/arch/ia64/kernel/entry.S
- --- 0-test8-pre1.1/arch/ia64/kernel/entry.S Tue, 15 Aug 2000 17:50:48
+1000 kaos (linux-2.4/c/c/16_entry.S 1.3.1.1.1.2 644)
+++ 0-test8-pre1.2(w)/arch/ia64/kernel/entry.S Sat, 02 Sep 2000 12:49:16
+1100 kaos (linux-2.4/c/c/16_entry.S 1.3.1.1.1.2 644)
@@ -68,8 +68,8 @@
mov loc1=r16 // save ar.pfs across do_fork
UNW(.body)
mov out1=in1
- - mov out2=in2
- - adds out3=IA64_SWITCH_STACK_SIZE+16,sp // out3 = ®s
+ mov out3=in2
+ adds out2=IA64_SWITCH_STACK_SIZE+16,sp // out2 = ®s
mov out0=in0 // out0 = clone_flags
br.call.sptk.few rp=do_fork
.ret1: UNW(.restore sp)
@@ -87,8 +87,8 @@
mov loc1=r16 // save ar.pfs across do_fork
UNW(.body)
mov out1=in1
- - mov out2=0
- - adds out3=IA64_SWITCH_STACK_SIZE+16,sp // out3 = ®s
+ mov out3=0
+ adds out2=IA64_SWITCH_STACK_SIZE+16,sp // out2 = ®s
mov out0=in0 // out0 = clone_flags
br.call.sptk.few rp=do_fork
.ret2: UNW(.restore sp)
Index: 0-test8-pre1.1/arch/ia64/ia32/ia32_entry.S
- --- 0-test8-pre1.1/arch/ia64/ia32/ia32_entry.S Tue, 15 Aug 2000
17:50:48 +1000 kaos (linux-2.4/c/c/25_ia32_entry 1.3.1.1 644)
+++ 0-test8-pre1.2(w)/arch/ia64/ia32/ia32_entry.S Sat, 02 Sep 2000
12:49:58 +1100 kaos (linux-2.4/c/c/25_ia32_entry 1.3.1.1 644)
@@ -91,8 +91,8 @@
UNW(.body)
mov out1=0
- - mov out2=0
- - adds out3=IA64_SWITCH_STACK_SIZE+16,sp
+ mov out3=0
+ adds out2=IA64_SWITCH_STACK_SIZE+16,sp // out2 = ®s
br.call.sptk.few rp=do_fork
.ret3: mov ar.pfs=loc1
UNW(.restore sp)
------- End of Blind-Carbon-Copy
reply other threads:[~2000-09-02 2:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=39B065B8.90A2C038@home.com \
--to=mhudson@home.com \
--cc=parisc-linux@thepuffingroup.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.