patch-2.1.69 linux/arch/i386/kernel/entry.S

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

diff -u --recursive --new-file v2.1.68/linux/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
@@ -92,7 +92,7 @@
 	pushl %edx; \
 	pushl %ecx; \
 	pushl %ebx; \
-	movl $(KERNEL_DS),%edx; \
+	movl $(__KERNEL_DS),%edx; \
 	mov %dx,%ds; \
 	mov %dx,%es;
 
@@ -251,7 +251,7 @@
 	xchgl %ecx, ES(%esp)		# get the address and save es.
 	pushl %eax			# push the error code
 	pushl %edx
-	movl $(KERNEL_DS),%edx
+	movl $(__KERNEL_DS),%edx
 	mov %dx,%ds
 	mov %dx,%es
 	GET_CURRENT(%ebx)
@@ -532,6 +532,9 @@
 	.long SYMBOL_NAME(sys_rt_sigtimedwait)
 	.long SYMBOL_NAME(sys_rt_sigqueueinfo)
 	.long SYMBOL_NAME(sys_rt_sigsuspend)
-	.rept NR_syscalls-179
+	.long SYMBOL_NAME(sys_pread)		/* 180 */
+	.long SYMBOL_NAME(sys_pwrite)
+	
+	.rept NR_syscalls-181
 		.long SYMBOL_NAME(sys_ni_syscall)
 	.endr

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