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
- Lines: 18
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/sparc/mm/srmmu.c
- Orig date:
2002-11-28 15:53:12.000000000 -0800
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)