All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] minios: drop volatile qualifier from some status variables
@ 2008-05-06 15:33 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2008-05-06 15:33 UTC (permalink / raw)
  To: xen-devel

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>

diff -r 66fdf958c6fc -r 20945f11bf10 extras/mini-os/include/lib.h
--- a/extras/mini-os/include/lib.h	Tue May 06 12:07:32 2008 +0100
+++ b/extras/mini-os/include/lib.h	Tue May 06 15:40:02 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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-06 15:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 15:33 [PATCH] minios: drop volatile qualifier from some status variables Samuel Thibault

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.