patch-2.4.21 linux-2.4.21/arch/sparc/mm/srmmu.c

Next file: linux-2.4.21/arch/sparc/mm/sun4c.c
Previous file: linux-2.4.21/arch/sparc/mm/iommu.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/sparc/mm/srmmu.c linux-2.4.21/arch/sparc/mm/srmmu.c
@@ -86,7 +86,7 @@
 ctxd_t *srmmu_context_table;
 
 int viking_mxcc_present;
-spinlock_t srmmu_context_spinlock = SPIN_LOCK_UNLOCKED;
+static spinlock_t srmmu_context_spinlock = SPIN_LOCK_UNLOCKED;
 
 int is_hypersparc;
 
@@ -130,7 +130,7 @@
 void *srmmu_nocache_bitmap;
 int srmmu_nocache_low;
 int srmmu_nocache_used;
-spinlock_t srmmu_nocache_spinlock;
+static spinlock_t srmmu_nocache_spinlock = SPIN_LOCK_UNLOCKED;
 
 /* This makes sense. Honest it does - Anton */
 #define __nocache_pa(VADDR) (((unsigned long)VADDR) - SRMMU_NOCACHE_VADDR + __pa((unsigned long)srmmu_nocache_pool))

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