diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-03-31 22:45:57 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-03-31 22:45:57 +0000 |
commit | 902aa391414bddba66dccb5f8bb428ba6371c70a (patch) | |
tree | 5219b98d400ebdf69638d844a8ab120e610219d2 | |
parent | b890e29f9dbd7fd7245606fda1d2e52fd8e1f365 (diff) |
These flags are bitmasks, not booleans.
Fix from upstream.
-rw-r--r-- | sys/dev/pci/drm/radeon_drv.h | 4 |
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; |