vserver 1.9.5.x5
[linux-2.6.git] / fs / nls / nls_base.c
index 07b8bea..8975127 100644 (file)
@@ -21,7 +21,7 @@
 
 static struct nls_table default_table;
 static struct nls_table *tables = &default_table;
-static spinlock_t nls_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(nls_lock);
 
 /*
  * Sample implementation from Unicode home page.