File libibverbs-s390.patch of Package libibverbs
---
include/infiniband/arch.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: include/infiniband/arch.h
===================================================================
--- include/infiniband/arch.h.orig 2016-02-08 13:33:58.000000000 +0100
+++ include/infiniband/arch.h 2016-02-15 08:55:26.450947636 +0100
@@ -115,7 +115,7 @@ static inline uint64_t ntohll(uint64_t x
#define wmb() mb()
#define wc_wmb() wmb()
-#elif defined(__s390x__)
+#elif defined(__s390x__) || defined(__s390__)
#define mb() { asm volatile("" : : : "memory"); } /* for s390x */
#define rmb() mb() /* for s390x */