diff options
Diffstat (limited to 'net/tipc/dbg.c')
-rw-r--r-- | net/tipc/dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/dbg.c b/net/tipc/dbg.c index 26ef95d5fe38..55130655e1ed 100644 --- a/net/tipc/dbg.c +++ b/net/tipc/dbg.c | |||
@@ -41,7 +41,7 @@ | |||
41 | #define MAX_STRING 512 | 41 | #define MAX_STRING 512 |
42 | 42 | ||
43 | static char print_string[MAX_STRING]; | 43 | static char print_string[MAX_STRING]; |
44 | static spinlock_t print_lock = SPIN_LOCK_UNLOCKED; | 44 | static DEFINE_SPINLOCK(print_lock); |
45 | 45 | ||
46 | static struct print_buf cons_buf = { NULL, 0, NULL, NULL }; | 46 | static struct print_buf cons_buf = { NULL, 0, NULL, NULL }; |
47 | struct print_buf *TIPC_CONS = &cons_buf; | 47 | struct print_buf *TIPC_CONS = &cons_buf; |