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

[Xen-devel] [PATCH v2 1/4] xen/arm: Add macro MB



Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
---
 xen/include/asm-arm/config.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/include/asm-arm/config.h b/xen/include/asm-arm/config.h
index 604088e..2cea1ba 100644
--- a/xen/include/asm-arm/config.h
+++ b/xen/include/asm-arm/config.h
@@ -119,6 +119,7 @@
 #define BOOT_MISC_VIRT_START   _AT(vaddr_t,0x00600000)
 
 #define HYPERVISOR_VIRT_START  XEN_VIRT_START
+#define MB(_mb)     (_AC(_mb, UL) << 20)
 
 #ifdef CONFIG_ARM_32
 
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.