git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto/qat: add device files
[dpdk.git]
/
lib
/
librte_eal
/
bsdapp
/
eal
/
eal_memory.c
diff --git
a/lib/librte_eal/bsdapp/eal/eal_memory.c
b/lib/librte_eal/bsdapp/eal/eal_memory.c
index
b27262c
..
a5e0347
100644
(file)
--- a/
lib/librte_eal/bsdapp/eal/eal_memory.c
+++ b/
lib/librte_eal/bsdapp/eal/eal_memory.c
@@
-70,7
+70,7
@@
rte_eal_hugepage_init(void)
addr = mmap(NULL, internal_config.memory,
PROT_READ | PROT_WRITE,
- MAP_PRIVATE | MAP_ANONYMOUS,
0
, 0);
+ MAP_PRIVATE | MAP_ANONYMOUS,
-1
, 0);
if (addr == MAP_FAILED) {
RTE_LOG(ERR, EAL, "%s: mmap() failed: %s\n", __func__,
strerror(errno));