drm: radeon: Fix RADEON_*_EMITED defines.
authorDavid Miller <davem@davemloft.net>
Thu, 12 Feb 2009 10:15:39 +0000 (02:15 -0800)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Mar 2009 04:24:01 +0000 (14:24 +1000)
These are not supposed to be booleans, they are
supposed to be bit masks.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/radeon/radeon_drv.h

index a253cf0..9b60a26 100644 (file)
@@ -219,8 +219,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)
 
 struct drm_radeon_master_private {
        drm_local_map_t *sarea;