Add write barriers

And enable them in solarisaio, then it should be safe to use the
signal driven IO "interrupts".

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/arch/arch-sparc64.h b/arch/arch-sparc64.h
index b916882..332cf91 100644
--- a/arch/arch-sparc64.h
+++ b/arch/arch-sparc64.h
@@ -27,7 +27,7 @@
 					: : : "memory"); \
 	} while (0)
 
-#define read_barrier()	\
-	membar_safe("#LoadLoad")
+#define read_barrier()		membar_safe("#LoadLoad")
+#define write_barrier()		membar_safe("#StoreStore")
 
 #endif