vserver 1.9.5.x5
[linux-2.6.git] / arch / ia64 / mm / tlb.c
index 0c5cb3c..bd62f55 100644 (file)
@@ -88,7 +88,7 @@ wrap_mmu_context (struct mm_struct *mm)
 void
 ia64_global_tlb_purge (unsigned long start, unsigned long end, unsigned long nbits)
 {
-       static spinlock_t ptcg_lock = SPIN_LOCK_UNLOCKED;
+       static DEFINE_SPINLOCK(ptcg_lock);
 
        /* HW requires global serialization of ptc.ga.  */
        spin_lock(&ptcg_lock);