summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
authorhunt <hunt>2005-08-19 11:11:51 +0000
committerhunt <hunt>2005-08-19 11:11:51 +0000
commit709a1d41d95438df305fa220cc32610f1bb6ea8e (patch)
tree5163f8b18b96c9163162c5e05ec85fc0aa0374e8 /runtime/runtime.h
parent65c919e2bd80361d6cf23f385f367c2a9689311f (diff)
downloadsystemtap-steved-709a1d41d95438df305fa220cc32610f1bb6ea8e.tar.gz
systemtap-steved-709a1d41d95438df305fa220cc32610f1bb6ea8e.tar.xz
systemtap-steved-709a1d41d95438df305fa220cc32610f1bb6ea8e.zip
2005-08-19 Martin Hunt <hunt@redhat.com>
* print.c: Change ifdefs to STP_RELAYFS. * runtime.h: Ditto. * io.c (_stp_vlog): Call _stp_write instead of _stp_ctrl_send. * Makefile: Don't build stp-control. * README.doc: Update. * TODO: Update.
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 549738e1..88ccc196 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -44,14 +44,14 @@
/* atomic globals */
static atomic_t _stp_transport_failures = ATOMIC_INIT (0);
-#ifndef STP_NETLINK_ONLY
+#ifdef STP_RELAYFS
static struct
{
atomic_t ____cacheline_aligned_in_smp seq;
} _stp_seq = { ATOMIC_INIT (0) };
#define _stp_seq_inc() (atomic_inc_return(&_stp_seq.seq))
-#endif
+#endif /* RELAYFS */
#include "print.c"
#include "string.c"