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

[Xen-changelog] [xen-unstable] minios: drop volatile qualifier from some status variables



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1210088144 -3600
# Node ID 892ae66ed82fa66fb474cea14b5be7ddbc39cbd9
# Parent  9d84c12de877e7c90a1b4b1c4b53bfa55bf0d432
minios: drop volatile qualifier from some status variables
since we already use memory barriers as approriate to prevent
concurrent access with event handlers.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
---
 extras/mini-os/include/lib.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 9d84c12de877 -r 892ae66ed82f extras/mini-os/include/lib.h
--- a/extras/mini-os/include/lib.h      Tue May 06 16:29:01 2008 +0100
+++ b/extras/mini-os/include/lib.h      Tue May 06 16:35:44 2008 +0100
@@ -162,7 +162,7 @@ extern struct file {
              * wakes select for this FD. */
             struct {
                 evtchn_port_t port;
-                volatile unsigned long pending;
+                unsigned long pending;
                 int bound;
             } ports[MAX_EVTCHN_PORTS];
        } evtchn;
@@ -181,7 +181,7 @@ extern struct file {
             xenbus_event_queue events;
         } xenbus;
     };
-    volatile int read; /* maybe available for read */
+    int read;  /* maybe available for read */
 } files[];
 
 int alloc_fd(enum fd_type type);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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