diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-05-06 16:35:44 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-05-06 16:35:44 +0100 |
commit | de6ab86c4021fe7f1c1263477066c62b131d99ea (patch) | |
tree | 17e355dd2a73b7f524c00c41a7495e7a1753ec59 /extras/mini-os/include | |
parent | 8bcb3b3622a7dc6019cd801fd9581914388ae91e (diff) | |
download | xen-de6ab86c4021fe7f1c1263477066c62b131d99ea.tar.gz xen-de6ab86c4021fe7f1c1263477066c62b131d99ea.tar.bz2 xen-de6ab86c4021fe7f1c1263477066c62b131d99ea.zip |
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@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include')
-rw-r--r-- | extras/mini-os/include/lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/mini-os/include/lib.h b/extras/mini-os/include/lib.h index 96e17ecd4c..0acb0fc4e2 100644 --- a/extras/mini-os/include/lib.h +++ b/extras/mini-os/include/lib.h @@ -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); |