[PATCH rdma-core] util: Fix mmio_flush_writes for SPARC and S390x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@xxxxxxxx>
---
 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux