--- linux-2.6.8.1.orig/arch/i386/kernel/entry.S 2004-08-14 19:55:09.000000000 +0900 +++ linux-2.6.8.1/arch/i386/kernel/entry.S 2004-08-15 16:09:28.000000000 +0900 @@ -278,11 +278,11 @@ pushl %eax # save orig_eax SAVE_ALL GET_THREAD_INFO(%ebp) - cmpl $(nr_syscalls), %eax - jae syscall_badsys # system call tracing in operation testb $(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT),TI_flags(%ebp) jnz syscall_trace_entry + cmpl $(nr_syscalls), %eax + jae syscall_badsys syscall_call: call *sys_call_table(,%eax,4) movl %eax,EAX(%esp) # store the return value