patch-2.4.0-test6 linux/arch/s390/kernel/s390io.c

Next file: linux/arch/s390/mm/fault.c
Previous file: linux/arch/s390/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/arch/s390/kernel/s390io.c linux/arch/s390/kernel/s390io.c
@@ -621,8 +621,11 @@
 
 	// Hopefully bh_count's will get set when we copy the prefix lowcore
 	// structure to other CPI's ( DJB )
-	atomic_set(&S390_lowcore.local_bh_count,0);
-	atomic_set(&S390_lowcore.local_irq_count,0);
+	softirq_active(smp_processor_id()) = 0;
+	softirq_mask(smp_processor_id()) = 0;
+	local_bh_count(smp_processor_id()) = 0;
+	local_irq_count(smp_processor_id()) = 0;
+	syscall_count(smp_processor_id()) = 0;
 
 	asm volatile ("STCK %0" : "=m" (irq_IPL_TOD));
 

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