git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[linux-2.6.git]
/
net
/
tipc
/
dbg.c
diff --git
a/net/tipc/dbg.c
b/net/tipc/dbg.c
index
26ef95d
..
5513065
100644
(file)
--- a/
net/tipc/dbg.c
+++ b/
net/tipc/dbg.c
@@
-41,7
+41,7
@@
#define MAX_STRING 512
static char print_string[MAX_STRING];
#define MAX_STRING 512
static char print_string[MAX_STRING];
-static
spinlock_t print_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(print_lock)
;
static struct print_buf cons_buf = { NULL, 0, NULL, NULL };
struct print_buf *TIPC_CONS = &cons_buf;
static struct print_buf cons_buf = { NULL, 0, NULL, NULL };
struct print_buf *TIPC_CONS = &cons_buf;