diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-02-12 11:37:45 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-02-12 11:37:45 +0000 |
commit | 67bfbd67d1311a1a590b47e568a07622d4492873 (patch) | |
tree | 17fb757a0b4179d91042dcb8bf3fdb3859925fba /tools/blktap | |
parent | b3a389fdfc3a1fe19fd7094b0180e97d49c186dd (diff) | |
download | xen-67bfbd67d1311a1a590b47e568a07622d4492873.tar.gz xen-67bfbd67d1311a1a590b47e568a07622d4492873.tar.bz2 xen-67bfbd67d1311a1a590b47e568a07622d4492873.zip |
libxenctrl headers should not pollute macro namespace with
mb/rmb/wmb. Instead add a xen_ prefix. Modify Xen's public headers to
expect the prefixed names instead of bare mb/rmb/wmb, but gate this
expectation on a bump of __XEN_INTERFACE_VERSION__.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/blktap')
-rw-r--r-- | tools/blktap/drivers/tapdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/blktap/drivers/tapdisk.c b/tools/blktap/drivers/tapdisk.c index 993e09b155..75f06c701c 100644 --- a/tools/blktap/drivers/tapdisk.c +++ b/tools/blktap/drivers/tapdisk.c @@ -641,7 +641,7 @@ static void get_io_request(struct td_state *s) if (!run) return; /*We have received signal to close*/ rp = info->fe_ring.sring->req_prod; - rmb(); + xen_rmb(); for (j = info->fe_ring.req_cons; j != rp; j++) { int done = 0, start_seg = 0; |