summaryrefslogtreecommitdiffstats
path: root/runtime/transport/procfs.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-02-15 14:29:08 -0500
committerFrank Ch. Eigler <fche@elastic.org>2008-02-15 14:29:08 -0500
commit0f05501579dc0a4e66ccbbd8e0b29d052d9b5920 (patch)
tree79bf8b7b328e87e8c30cc64e64a1bea9a6f2dca5 /runtime/transport/procfs.c
parent044427bcdfa2a1d58a912bf96546892bef82b717 (diff)
parent275f40a6d612f94e5272eeed772e9c9294cb8e1f (diff)
downloadsystemtap-steved-0f05501579dc0a4e66ccbbd8e0b29d052d9b5920.tar.gz
systemtap-steved-0f05501579dc0a4e66ccbbd8e0b29d052d9b5920.tar.xz
systemtap-steved-0f05501579dc0a4e66ccbbd8e0b29d052d9b5920.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/transport/procfs.c')
-rw-r--r--runtime/transport/procfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/transport/procfs.c b/runtime/transport/procfs.c
index 85e97d15..33f6db33 100644
--- a/runtime/transport/procfs.c
+++ b/runtime/transport/procfs.c
@@ -15,9 +15,9 @@ static int _stp_current_buffers = STP_DEFAULT_BUFFERS;
static struct list_head _stp_ctl_ready_q;
static struct list_head _stp_sym_ready_q;
static struct list_head _stp_pool_q;
-spinlock_t _stp_pool_lock = SPIN_LOCK_UNLOCKED;
-spinlock_t _stp_ctl_ready_lock = SPIN_LOCK_UNLOCKED;
-spinlock_t _stp_sym_ready_lock = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(_stp_pool_lock);
+DEFINE_SPINLOCK(_stp_ctl_ready_lock);
+DEFINE_SPINLOCK(_stp_sym_ready_lock);
#ifdef STP_BULKMODE
extern int _stp_relay_flushing;