patch-2.4.0-test2 linux/arch/i386/kernel/entry.S

Next file: linux/arch/i386/kernel/i386_ksyms.c
Previous file: linux/arch/i386/kernel/cpuid.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
@@ -78,6 +78,7 @@
 exec_domain	= 16
 need_resched	= 20
 processor	= 56
+tsk_ptrace	= 60
 
 ENOSYS = 38
 
@@ -180,7 +181,7 @@
 	call SYMBOL_NAME(schedule_tail)
 	addl $4, %esp
 	GET_CURRENT(%ebx)
-	testb $0x20,flags(%ebx)		# PF_TRACESYS
+	testb $0x02,tsk_ptrace(%ebx)	# PT_TRACESYS
 	jne tracesys_exit
 	jmp	ret_from_sys_call
 
@@ -197,7 +198,7 @@
 	GET_CURRENT(%ebx)
 	cmpl $(NR_syscalls),%eax
 	jae badsys
-	testb $0x20,flags(%ebx)		# PF_TRACESYS
+	testb $0x02,tsk_ptrace(%ebx)	# PT_TRACESYS
 	jne tracesys
 	call *SYMBOL_NAME(sys_call_table)(,%eax,4)
 	movl %eax,EAX(%esp)		# save the return value
@@ -322,6 +323,11 @@
 	pushl $ SYMBOL_NAME(do_coprocessor_error)
 	jmp error_code
 
+ENTRY(simd_coprocessor_error)
+	pushl $0
+	pushl $ SYMBOL_NAME(do_simd_coprocessor_error)
+	jmp error_code
+
 ENTRY(device_not_available)
 	pushl $-1		# mark this as an int
 	SAVE_ALL
@@ -411,11 +417,6 @@
 ENTRY(spurious_interrupt_bug)
 	pushl $0
 	pushl $ SYMBOL_NAME(do_spurious_interrupt_bug)
-	jmp error_code
-
-ENTRY(xmm_fault)
-	pushl $0
-	pushl $ SYMBOL_NAME(do_xmm_fault)
 	jmp error_code
 
 .data

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)