Skip to contentSkip to conversation

util: Fix mmio_flush_writes for SPARC and S390x

PATCH Applied Nicolas Morey-Chaisemartin 3 participants 3 messages Jun 7, 2017 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 util: Fix mmio_flush_writes for SPARC and S390x

Due to a missing #else, udma_barrier.h failed on sparc and s390x

---
 util/udma_barrier.h | 1 +
 1 file changed, 1 insertion(+)
util/udma_barrier.h +1 -0
index 9932a687..23acf233 100644
@@ -192,6 +192,7 @@
 #define mmio_flush_writes() asm volatile("dsb st" ::: "memory");
 #elif defined(__sparc__) || defined(__s390x__)
 #define mmio_flush_writes() asm volatile("" ::: "memory")
+#else
 #error No architecture specific memory barrier defines found!
 #endif
 

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Reviewed-by
#2 lore raw
In reply to a message not in the archive
Quoted 1 line · Nicolas Morey-Chaisemartin

Due to a missing #else, udma_barrier.h failed on sparc and s390x

Oops, yes, thank you

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html