Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:yukoff:openSUSE:Leap:42.1:Backports
libibverbs
libibverbs-add-s390x-platform-support.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libibverbs-add-s390x-platform-support.patch of Package libibverbs
include/infiniband/arch.h | 7 +++++++ 1 file changed, 7 insertions(+) Index: libibverbs-1.1.7/include/infiniband/arch.h =================================================================== --- libibverbs-1.1.7.orig/include/infiniband/arch.h 2014-03-05 10:36:36.000000000 +0100 +++ libibverbs-1.1.7/include/infiniband/arch.h 2015-08-11 13:09:58.346141613 +0200 @@ -115,6 +115,13 @@ static inline uint64_t ntohll(uint64_t x #define wmb() mb() #define wc_wmb() wmb() +#elif defined(__s390x__) || defined(__s390__) + +#define mb() { asm volatile("" : : : "memory"); } /* for s390x */ +#define rmb() mb() /* for s390x */ +#define wmb() mb() /* for s390x */ +#define wc_wmb() wmb() /* for s390x */ + #else #warning No architecture specific defines found. Using generic implementation.
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