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
-  Lines: 17
-  Date:
Mon Jul 20 14:00:11 1998
-  Orig file: 
v2.1.109/linux/arch/i386/kernel/entry.S
-  Orig date: 
Thu Jul 16 18:09:23 1998
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, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov