summaryrefslogtreecommitdiff
path: root/kernel/user.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-01-17 20:28:07 -0800
committerTony Luck <tony.luck@intel.com>2005-01-17 20:28:07 -0800
commit9790ee6f6a30db6b9fd4f27e437b87fa8e511cdd (patch)
tree5283a41fba9fe6a85c0ed186ad0469dd0cc04323 /kernel/user.c
parentbcb39c06eefc908121323c23ead2fdd246585ad3 (diff)
parentfdefff6242ce95e350570a7f65e1ff49bc3a66b6 (diff)
Merge ia64 test tree back into release tree.
Diffstat (limited to 'kernel/user.c')
-rw-r--r--kernel/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/user.c b/kernel/user.c
index 693487dc940e..18f63146602a 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -26,7 +26,7 @@
static kmem_cache_t *uid_cachep;
static struct list_head uidhash_table[UIDHASH_SZ];
-static spinlock_t uidhash_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(uidhash_lock);
struct user_struct root_user = {
.__count = ATOMIC_INIT(1),