From: Ian Campbell Date: Thu, 31 Mar 2011 18:31:06 +0000 (+0100) Subject: tools: ocaml: drop redefinition of xen_mb X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=75c300588b4bc675d9fb2f64e9ec956d808e4992;p=people%2Fliuw%2Flibxenctrl-split%2Fxen.git tools: ocaml: drop redefinition of xen_mb This is always available to the in-tree build. Signed-off-by: Ian Campbell Committed-by: Ian Jackson --- diff --git a/tools/ocaml/libs/xb/xs_ring_stubs.c b/tools/ocaml/libs/xb/xs_ring_stubs.c index a3bb175df9..00414c5353 100644 --- a/tools/ocaml/libs/xb/xs_ring_stubs.c +++ b/tools/ocaml/libs/xb/xs_ring_stubs.c @@ -35,10 +35,6 @@ #define GET_C_STRUCT(a) ((struct mmap_interface *) a) -#ifndef xen_mb -#define xen_mb() mb() -#endif - static int xs_ring_read(struct mmap_interface *interface, char *buffer, int len) {