Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.2
dpdk
0035-PAGE_SIZE-constant-is-not-defined-on-ARM-s...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0035-PAGE_SIZE-constant-is-not-defined-on-ARM-since-multi.patch of Package dpdk
From a81e0a0f73a834d2cd8e5fd3237fac85574ad778 Mon Sep 17 00:00:00 2001 From: Nirmoy Das <ndas@suse.de> Date: Mon, 11 Jul 2016 11:56:27 +0200 Subject: [PATCH] PAGE_SIZE constant is not defined on ARM since multiple values are possible, so DPDK needs to dynamically get the page size. --- drivers/net/bnx2x/bnx2x.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index 67af5da..766d66b 100644 --- a/drivers/net/bnx2x/bnx2x.c +++ b/drivers/net/bnx2x/bnx2x.c @@ -34,6 +34,10 @@ #define BNX2X_PMD_VERSION_MINOR 0 #define BNX2X_PMD_VERSION_PATCH 0 +#ifndef PAGE_SIZE +#define PAGE_SIZE sysconf(_SC_PAGE_SIZE) +#endif + static inline const char * bnx2x_pmd_version(void) { -- 2.9.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor