projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92578c0
)
cred: Replace deprecated spinlock initialization
author
Thomas Gleixner
<tglx@linutronix.de>
Sun, 23 Jan 2011 14:25:56 +0000
(15:25 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 27 Jan 2011 11:30:37 +0000
(12:30 +0100)
SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/cred.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/cred.c
b/kernel/cred.c
index 6a1aa004e376615fed91a1cbd4c2bc6149896957..b5496e81b0f735c65afd908ed2ae7e172ae459cf 100644
(file)
--- a/
kernel/cred.c
+++ b/
kernel/cred.c
@@
-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