diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-10 03:57:37 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-05-17 02:36:19 -0400 |
commit | 3588fa621c4c9462a9c56f24b18ded329dc7622a (patch) | |
tree | de2577e020ee1fb4301c2c00259820cd76296970 /linux/sched.c | |
parent | ff86d4722124c300c40b85b6eb8ef2d410ab303c (diff) |
fixes for 32 bit builds/non x86 archs
Diffstat (limited to 'linux/sched.c')
-rw-r--r-- | linux/sched.c | 4 |
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> |