patch-2.1.99 linux/arch/i386/kernel/entry.S
Next file: linux/arch/i386/kernel/i386_ksyms.c
Previous file: linux/arch/i386/kernel/Makefile
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Apr 30 15:17:16 1998
- Orig file:
v2.1.98/linux/arch/i386/kernel/entry.S
- Orig date:
Wed Apr 1 20:11:47 1998
diff -u --recursive --new-file v2.1.98/linux/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
@@ -155,7 +155,7 @@
jae badsys
testb $0x20,flags(%ebx) # PF_TRACESYS
jne tracesys
- call SYMBOL_NAME(sys_call_table)(,%eax,4)
+ call *SYMBOL_NAME(sys_call_table)(,%eax,4)
movl %eax,EAX(%esp) # save the return value
ALIGN
.globl ret_from_sys_call
@@ -193,7 +193,7 @@
movl $-ENOSYS,EAX(%esp)
call SYMBOL_NAME(syscall_trace)
movl ORIG_EAX(%esp),%eax
- call SYMBOL_NAME(sys_call_table)(,%eax,4)
+ call *SYMBOL_NAME(sys_call_table)(,%eax,4)
movl %eax,EAX(%esp) # save the return value
call SYMBOL_NAME(syscall_trace)
jmp ret_from_sys_call
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov