git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions
[pandora-kernel.git]
/
fs
/
xfs
/
support
/
ktrace.c
diff --git
a/fs/xfs/support/ktrace.c
b/fs/xfs/support/ktrace.c
index
3dae14c
..
fa8394f
100644
(file)
--- a/
fs/xfs/support/ktrace.c
+++ b/
fs/xfs/support/ktrace.c
@@
-170,7
+170,7
@@
ktrace_enter(
void *val14,
void *val15)
{
- static
lock_t wrap_lock = SPIN_LOCK_UNLOCKED
;
+ static
DEFINE_SPINLOCK(wrap_lock)
;
unsigned long flags;
int index;
ktrace_entry_t *ktep;