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

Next file: linux/arch/i386/kernel/io_apic.c
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.109/linux/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
@@ -75,6 +75,7 @@
 sigpending	=  8
 addr_limit	= 12
 exec_domain	= 16
+need_resched	= 20
 
 ENOSYS = 38
 
@@ -178,7 +179,7 @@
 	andl SYMBOL_NAME(bh_active),%eax
 	jne handle_bottom_half
 ret_with_reschedule:
-	cmpl $0,SYMBOL_NAME(need_resched)
+	cmpl $0,need_resched(%ebx)
 	jne reschedule
 	cmpl $0,sigpending(%ebx)
 	jne signal_return

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]