patch-2.4.0-test6 linux/kernel/sched.c

Next file: linux/kernel/softirq.c
Previous file: linux/kernel/ptrace.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/kernel/sched.c linux/kernel/sched.c
@@ -29,7 +29,6 @@
 #include <asm/uaccess.h>
 #include <asm/mmu_context.h>
 
-
 extern void timer_bh(void);
 extern void tqueue_bh(void);
 extern void immediate_bh(void);
@@ -507,7 +506,7 @@
 	release_kernel_lock(prev, this_cpu);
 
 	/* Do "administrative" work here while we don't hold any locks */
-	if (softirq_state[this_cpu].active & softirq_state[this_cpu].mask)
+	if (softirq_active(this_cpu) & softirq_mask(this_cpu))
 		goto handle_softirq;
 handle_softirq_back:
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)