summaryrefslogtreecommitdiff
path: root/linux/sched.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-05-10 03:57:37 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2018-05-17 02:36:19 -0400
commit3588fa621c4c9462a9c56f24b18ded329dc7622a (patch)
treede2577e020ee1fb4301c2c00259820cd76296970 /linux/sched.c
parentff86d4722124c300c40b85b6eb8ef2d410ab303c (diff)
fixes for 32 bit builds/non x86 archs
Diffstat (limited to 'linux/sched.c')
-rw-r--r--linux/sched.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/sched.c b/linux/sched.c
index de6eb142..52b741fa 100644
--- a/linux/sched.c
+++ b/linux/sched.c
@@ -3,6 +3,10 @@
#include <string.h>
#include <sys/mman.h>
+/* hack for mips: */
+#define CONFIG_RCU_HAVE_FUTEX 1
+#include <urcu/futex.h>
+
#include <linux/math64.h>
#include <linux/printk.h>
#include <linux/rcupdate.h>