Message ID | 88cef736-88c3-08d9-4042-fd73b2d4cb97@suse.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Wed, Jun 07, 2017 at 02:58:39PM +0200, Nicolas Morey-Chaisemartin wrote: > Due to a missing #else, udma_barrier.h failed on sparc and s390x Oops, yes, thank you Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Jun 07, 2017 at 02:58:39PM +0200, Nicolas Morey-Chaisemartin wrote: > Due to a missing #else, udma_barrier.h failed on sparc and s390x > > Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com> > --- > util/udma_barrier.h | 1 + > 1 file changed, 1 insertion(+) > Thanks, applied.
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
Due to a missing #else, udma_barrier.h failed on sparc and s390x Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin@suse.com> --- util/udma_barrier.h | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html