summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-03-31 22:45:57 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-03-31 22:45:57 +0000
commit902aa391414bddba66dccb5f8bb428ba6371c70a (patch)
tree5219b98d400ebdf69638d844a8ab120e610219d2
parentb890e29f9dbd7fd7245606fda1d2e52fd8e1f365 (diff)
These flags are bitmasks, not booleans.
Fix from upstream.
-rw-r--r--sys/dev/pci/drm/radeon_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/radeon_drv.h b/sys/dev/pci/drm/radeon_drv.h
index de9ed885944..706065dc107 100644
--- a/sys/dev/pci/drm/radeon_drv.h
+++ b/sys/dev/pci/drm/radeon_drv.h
@@ -203,8 +203,8 @@ struct radeon_virt_surface {
struct drm_file *file_priv;
};
-#define RADEON_FLUSH_EMITED (1 < 0)
-#define RADEON_PURGE_EMITED (1 < 1)
+#define RADEON_FLUSH_EMITED (1 << 0)
+#define RADEON_PURGE_EMITED (1 << 1)
typedef struct drm_radeon_private {
struct device dev;