From 850867394593b4a108c2b49cd58a1a54173d2697 Mon Sep 17 00:00:00 2001 From: bouyer Date: Mon, 6 Mar 2006 20:00:51 +0000 Subject: [PATCH] Mark ring indexes as volatile. --- sys/arch/xen/include/xen3-public/io/xs_wire.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/xen/include/xen3-public/io/xs_wire.h b/sys/arch/xen/include/xen3-public/io/xs_wire.h index 7d96dc813a3d..053bc720b283 100644 --- a/sys/arch/xen/include/xen3-public/io/xs_wire.h +++ b/sys/arch/xen/include/xen3-public/io/xs_wire.h @@ -101,8 +101,8 @@ typedef uint32_t XENSTORE_RING_IDX; struct xenstore_domain_interface { char req[XENSTORE_RING_SIZE]; /* Requests to xenstore daemon. */ char rsp[XENSTORE_RING_SIZE]; /* Replies and async watch events. */ - XENSTORE_RING_IDX req_cons, req_prod; - XENSTORE_RING_IDX rsp_cons, rsp_prod; + volatile XENSTORE_RING_IDX req_cons, req_prod; + volatile XENSTORE_RING_IDX rsp_cons, rsp_prod; }; #endif /* _XS_WIRE_H */