summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index ee92c8dc..d420fc1f 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -5,6 +5,7 @@
*/
#include <linux/module.h>
+#include <linux/ctype.h>
#include <linux/kernel.h>
#include <linux/miscdevice.h>
#include <linux/init.h>
@@ -21,6 +22,13 @@
#define dbug(args...) ;
+/* atomic globals */
+static atomic_t _stp_transport_failures = ATOMIC_INIT (0);
+
+/* some relayfs defaults that don't belong here */
+static unsigned n_subbufs = 4;
+static unsigned subbuf_size = 65536;
+
#include "print.c"
#endif /* _RUNTIME_H_ */