patch-2.2.0-pre7 linux/arch/alpha/kernel/entry.S
Next file: linux/arch/alpha/kernel/irq.c
Previous file: linux/arch/alpha/kernel/core_tsunami.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Sat Jan 9 19:08:21 1999
- Orig file:
v2.2.0-pre6/linux/arch/alpha/kernel/entry.S
- Orig date:
Thu Dec 31 10:28:58 1998
diff -u --recursive --new-file v2.2.0-pre6/linux/arch/alpha/kernel/entry.S linux/arch/alpha/kernel/entry.S
@@ -8,10 +8,9 @@
#define halt .long PAL_halt
#define rti .long PAL_rti
-#define SIGCHLD 20
+#define SIGCHLD 20
#define NR_SYSCALLS 370
-#define osf_vfork sys_fork
/*
* These offsets must match with alpha_mv in <asm/machvec.h>.
@@ -502,6 +501,17 @@
.end sys_clone
.align 3
+.globl sys_vfork
+.ent sys_vfork
+sys_vfork:
+ bsr $1,do_switch_stack
+ bis $30,$30,$16
+ jsr $26,alpha_vfork
+ bsr $1,undo_switch_stack
+ ret $31,($26),1
+.end sys_vfork
+
+.align 3
.globl alpha_switch_to
.ent alpha_switch_to
alpha_switch_to:
@@ -822,7 +832,7 @@
.quad sys_getpgrp
.quad sys_getpagesize
.quad alpha_ni_syscall /* 65 */
- .quad osf_vfork
+ .quad sys_vfork
.quad sys_newstat
.quad sys_newlstat
.quad alpha_ni_syscall
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov