From 3fc000aa67ee38002ec97419a760f23cccd87210 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Thu, 12 Dec 2013 22:25:08 +0400 Subject: fixed missing spinlock initialized (fixes stuck) Signed-off-by: Dmitry Kozlov --- accel-pppd/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel-pppd/session.c b/accel-pppd/session.c index 1efad5ef..c74de575 100644 --- a/accel-pppd/session.c +++ b/accel-pppd/session.c @@ -43,7 +43,7 @@ int __export urandom_fd; int __export ap_shutdown; #if __WORDSIZE == 32 -static spinlock_t seq_lock; +static spinlock_t seq_lock = SPINLOCK_INITIALIZER; #endif static long long unsigned seq; static struct timespec seq_ts; -- cgit v1.2.3