summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2002-07-02 05:27:31 +0000
committerEric Anholt <anholt@freebsd.org>2002-07-02 05:27:31 +0000
commit86414649f174fd1185f5927132f67dffc11abe98 (patch)
treea8a424bccdd3838eb6b7d99f404ffb631ff3c546
parenta043b05c90a37b373110c2e35869a75e179e7eb3 (diff)
Make wrapped non-volatile to prevent warnings (it doesn't need to be, as
there shouldn't anything be modifying wrapped behind our backs without interrupts)
-rw-r--r--shared-core/mga_drv.h2
-rw-r--r--shared/mga_drv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/mga_drv.h b/shared-core/mga_drv.h
index d50c10ec..51bc706e 100644
--- a/shared-core/mga_drv.h
+++ b/shared-core/mga_drv.h
@@ -38,7 +38,7 @@ typedef struct drm_mga_primary_buffer {
u32 tail;
int space;
- volatile int wrapped;
+ int wrapped;
volatile u32 *status;
diff --git a/shared/mga_drv.h b/shared/mga_drv.h
index d50c10ec..51bc706e 100644
--- a/shared/mga_drv.h
+++ b/shared/mga_drv.h
@@ -38,7 +38,7 @@ typedef struct drm_mga_primary_buffer {
u32 tail;
int space;
- volatile int wrapped;
+ int wrapped;
volatile u32 *status;