public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-core] util: Fix mmio_flush_writes for SPARC and S390x
@ 2017-06-07 12:58 Nicolas Morey-Chaisemartin
       [not found] ` <88cef736-88c3-08d9-4042-fd73b2d4cb97-l3A5Bk7waGM@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Morey-Chaisemartin @ 2017-06-07 12:58 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

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

Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin-IBi9RG/b67k@public.gmane.org>
---
 util/udma_barrier.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util/udma_barrier.h b/util/udma_barrier.h
index 9932a687..23acf233 100644
--- a/util/udma_barrier.h
+++ b/util/udma_barrier.h
@@ -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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-06-07 16:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-07 12:58 [PATCH rdma-core] util: Fix mmio_flush_writes for SPARC and S390x Nicolas Morey-Chaisemartin
     [not found] ` <88cef736-88c3-08d9-4042-fd73b2d4cb97-l3A5Bk7waGM@public.gmane.org>
2017-06-07 16:04   ` Jason Gunthorpe
2017-06-07 16:31   ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox