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
pipeline: add check against loops
[dpdk.git]
/
drivers
/
net
/
dpaa2
/
dpaa2_recycle.c
diff --git
a/drivers/net/dpaa2/dpaa2_recycle.c
b/drivers/net/dpaa2/dpaa2_recycle.c
index
c5e9e97
..
336506d
100644
(file)
--- a/
drivers/net/dpaa2/dpaa2_recycle.c
+++ b/
drivers/net/dpaa2/dpaa2_recycle.c
@@
-32,7
+32,9
@@
#include <unistd.h>
#include <sys/mman.h>
+#ifndef PAGE_SIZE
#define PAGE_SIZE (sysconf(_SC_PAGESIZE))
+#endif
#define PAGE_MASK (~(PAGE_SIZE - 1))
#define LSX_SERDES_LAN_NB 8