patch-2.1.127 linux/arch/sparc/kernel/smp.c

Next file: linux/arch/sparc/kernel/sparc_ksyms.c
Previous file: linux/arch/sparc/kernel/signal.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/arch/sparc/kernel/smp.c linux/arch/sparc/kernel/smp.c
@@ -64,6 +64,9 @@
 /* Kernel spinlock */
 spinlock_t kernel_flag = SPIN_LOCK_UNLOCKED;
 
+/* Used to make bitops atomic */
+unsigned char bitops_spinlock = 0;
+
 volatile unsigned long ipi_count;
 
 volatile int smp_process_available=0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov