projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: call rcu should call internal RCU API
[urcu.git]
/
rculfhash-mm-mmap.c
diff --git
a/rculfhash-mm-mmap.c
b/rculfhash-mm-mmap.c
index 4554ed6007f20df68bfac3f2fe74a5a9e39c55fc..3cc3fa01c9d5ed5c16888ae8f02fb85ae65cf1de 100644
(file)
--- a/
rculfhash-mm-mmap.c
+++ b/
rculfhash-mm-mmap.c
@@
-24,6
+24,10
@@
#include <sys/mman.h>
#include "rculfhash-internal.h"
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
/* reserve inaccessible memory space without allocation any memory */
static void *memory_map(size_t length)
{
This page took
0.023372 seconds
and
4
git commands to generate.