util: Fix mmio_flush_writes for SPARC and S390x
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
@@ -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
A message that is not in the archive (sent off-list or not yet received): 88cef736-88c3-08d9-4042-fd73b2d4cb97-l3A5Bk7waGM@public.gmane.org
Jason Gunthorpe
Reviewed-byQuoted 1 line · Nicolas Morey-Chaisemartin
Due to a missing #else,
udma_barrier.hfailed 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
Leon Romanovsky
AppliedQuoted 7 lines · Nicolas Morey-Chaisemartin
Due to a missing #else,
udma_barrier.hfailed on sparc and s390x--- util/udma_barrier.h | 1 + 1 file changed, 1 insertion(+)
Thanks, applied.