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 a253cf071ec456aa1623363708ce2d8c1e27082f..9b60a268dc7a3bad5cb1ed0a15747dfa77a323ec 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;