All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/5]: drm: radeon: Fix RADEON_*_EMITED defines.
@ 2009-02-12 10:15 David Miller
  0 siblings, 0 replies; only message in thread
From: David Miller @ 2009-02-12 10:15 UTC (permalink / raw)
  To: airlied; +Cc: benh, dri-devel, linux-kernel


These are not supposed to be booleans, they are
supposed to be bit masks.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/gpu/drm/radeon/radeon_drv.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_drv.h b/drivers/gpu/drm/radeon/radeon_drv.h
index a253cf0..9b60a26 100644
--- a/drivers/gpu/drm/radeon/radeon_drv.h
+++ b/drivers/gpu/drm/radeon/radeon_drv.h
@@ -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;
-- 
1.6.1.2.350.g88cc


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-12 10:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-12 10:15 [PATCH 4/5]: drm: radeon: Fix RADEON_*_EMITED defines David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.