From d65ab084c857ff87e5ed77742cd8e58b3bc03814 Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 23 Jun 2005 07:44:27 +0000 Subject: 2005-06-23 Martin Hunt * control.c: Replace macro DEFINE_SPINLOCK because some kernels don't have it. --- runtime/transport/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/transport/control.c') diff --git a/runtime/transport/control.c b/runtime/transport/control.c index 1699f54d..23e99400 100644 --- a/runtime/transport/control.c +++ b/runtime/transport/control.c @@ -40,7 +40,7 @@ struct sock *stp_control; static struct hlist_head *handlers; /* protection for the handlers table */ -static DEFINE_SPINLOCK(handlers_lock); +static spinlock_t handlers_lock = SPIN_LOCK_UNLOCKED; /** * _stp_lookup_handler - look up the command handler in the handlers table -- cgit