dect
/
linux-2.6
Archived
13
0
Fork 0

cred: Replace deprecated spinlock initialization

SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Thomas Gleixner 2011-01-23 15:25:56 +01:00
parent 92578c0b80
commit 10389a15e2
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ static struct kmem_cache *cred_jar;
static struct thread_group_cred init_tgcred = {
.usage = ATOMIC_INIT(2),
.tgid = 0,
.lock = SPIN_LOCK_UNLOCKED,
.lock = __SPIN_LOCK_UNLOCKED(init_cred.tgcred.lock),
};
#endif