Signed-off-by: Paolo 'Blaisorblade' Giarrusso --- clean-linux-2.6.11-paolo/arch/i386/kernel/entry.S | 4 ++-- clean-linux-2.6.11-paolo/include/asm-i386/thread_info.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff -puN include/asm-i386/thread_info.h~sysemu-for-fedora include/asm-i386/thread_info.h --- clean-linux-2.6.11/include/asm-i386/thread_info.h~sysemu-for-fedora 2005-05-03 09:08:14.000000000 +0200 +++ clean-linux-2.6.11-paolo/include/asm-i386/thread_info.h 2005-05-03 09:08:14.000000000 +0200 @@ -139,8 +139,8 @@ register unsigned long current_stack_poi #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ #define TIF_SINGLESTEP 4 /* restore singlestep on return to user mode */ #define TIF_IRET 5 /* return with iret */ -#define TIF_SYSCALL_EMU 6 /* syscall emulation active */ #define TIF_SYSCALL_AUDIT 7 /* syscall auditing active */ +#define TIF_SYSCALL_EMU 9 /* syscall emulation active */ #define TIF_POLLING_NRFLAG 16 /* true if poll_idle() is polling TIF_NEED_RESCHED */ #define TIF_MEMDIE 17 diff -puN arch/i386/kernel/entry.S~sysemu-for-fedora arch/i386/kernel/entry.S --- clean-linux-2.6.11/arch/i386/kernel/entry.S~sysemu-for-fedora 2005-05-03 09:08:14.000000000 +0200 +++ clean-linux-2.6.11-paolo/arch/i386/kernel/entry.S 2005-05-03 09:08:14.000000000 +0200 @@ -219,7 +219,7 @@ sysenter_past_esp: SAVE_ALL GET_THREAD_INFO(%ebp) - testb $(_TIF_SYSCALL_EMU|_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT),TI_flags(%ebp) + testw $(_TIF_SYSCALL_EMU|_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT),TI_flags(%ebp) jnz syscall_trace_entry cmpl $(nr_syscalls), %eax jae syscall_badsys @@ -243,7 +243,7 @@ ENTRY(system_call) SAVE_ALL GET_THREAD_INFO(%ebp) # system call tracing in operation / emulation - testb $(_TIF_SYSCALL_EMU|_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT),TI_flags(%ebp) + testw $(_TIF_SYSCALL_EMU|_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT),TI_flags(%ebp) jnz syscall_trace_entry cmpl $(nr_syscalls), %eax jae syscall_badsys _