ia64/xen-unstable

changeset 17588:892ae66ed82f

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>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 06 16:35:44 2008 +0100 (2008-05-06)
parents 9d84c12de877
children 730c253afc30
files extras/mini-os/include/lib.h
line diff
     1.1 --- a/extras/mini-os/include/lib.h	Tue May 06 16:29:01 2008 +0100
     1.2 +++ b/extras/mini-os/include/lib.h	Tue May 06 16:35:44 2008 +0100
     1.3 @@ -162,7 +162,7 @@ extern struct file {
     1.4               * wakes select for this FD. */
     1.5              struct {
     1.6                  evtchn_port_t port;
     1.7 -                volatile unsigned long pending;
     1.8 +                unsigned long pending;
     1.9                  int bound;
    1.10              } ports[MAX_EVTCHN_PORTS];
    1.11  	} evtchn;
    1.12 @@ -181,7 +181,7 @@ extern struct file {
    1.13              xenbus_event_queue events;
    1.14          } xenbus;
    1.15      };
    1.16 -    volatile int read;	/* maybe available for read */
    1.17 +    int read;	/* maybe available for read */
    1.18  } files[];
    1.19  
    1.20  int alloc_fd(enum fd_type type);