Skip to contentSkip to conversation

Remove softirq_pending

PATCH New Benoit Boissinot 1 participant 1 message Jan 21, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove softirq_pending

Hi,

Below is a patch that remove a call to softirq_pending that was forgotten.

net/core/pktgen.c +1 -1
@@ -2806,7 +2806,7 @@ static void pktgen_thread_worker(struct 
 			tx_since_softirq += pkt_dev->last_ok;
 
 			if (tx_since_softirq > max_before_softirq) {
-				if(softirq_pending(smp_processor_id()))  
+				if(local_softirq_pending())  
 					do_softirq();
 				tx_since_softirq = 0;
 			}

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors