From 709a1d41d95438df305fa220cc32610f1bb6ea8e Mon Sep 17 00:00:00 2001 From: hunt Date: Fri, 19 Aug 2005 11:11:51 +0000 Subject: 2005-08-19 Martin Hunt * 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. --- runtime/runtime.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/runtime.h') 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" -- cgit