patch-2.1.104 linux/arch/alpha/kernel/entry.S

Next file: linux/arch/alpha/kernel/head.S
Previous file: linux/arch/alpha/kernel/cia.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.103/linux/arch/alpha/kernel/entry.S linux/arch/alpha/kernel/entry.S
@@ -264,7 +264,7 @@
 	stq $18,40($30)
 	bis $31,2,$0	/* Register v0: syscall nr for fork() */
 	SAVE_ALL
-	jsr $26,sys_clone
+	bsr $26,sys_clone
 	stq $0,0($30)
 	br $31,ret_from_sys_call
 .end	kernel_clone
@@ -559,6 +559,7 @@
 .globl  alpha_switch_to
 .ent    alpha_switch_to
 alpha_switch_to:
+	.prologue 0
 	bsr $1,do_switch_stack
 	call_pal PAL_swpctx
 	lda $16,-2($31)
@@ -1179,6 +1180,6 @@
 	.quad sys_getrusage
 	.quad sys_wait4				/* 365 */
 	.quad sys_adjtimex
-	.quad sys_ni_syscall
+	.quad sys_getcwd
 	.quad sys_ni_syscall
 	.quad sys_ni_syscall			/* 369 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov