From de6ab86c4021fe7f1c1263477066c62b131d99ea Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 6 May 2008 16:35:44 +0100 Subject: 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 --- extras/mini-os/include/lib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extras/mini-os/include/lib.h') 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); -- cgit v1.2.3