summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2002-08-21 00:09:32 +0000
committerMichel Daenzer <michel@daenzer.net>2002-08-21 00:09:32 +0000
commit3165128fc461fdadf34b7f4bbd393fa076c1ae14 (patch)
tree5200a54c9315f4b1140ec975377c4c7a38623d0a
parent33d57137daece1bc5b1e8cc0a11e45a9d5974939 (diff)
TRUE and FALSE don't seem to be defined everywhere...
-rw-r--r--shared-core/radeon_cp.c4
-rw-r--r--shared/radeon_cp.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c
index b0d5b27a..8250c09b 100644
--- a/shared-core/radeon_cp.c
+++ b/shared-core/radeon_cp.c
@@ -655,10 +655,10 @@ static void radeon_cp_init_ring_buffer( drm_device_t *dev,
}
if ( tmp < dev_priv->usec_timeout ) {
- dev_priv->writeback_works = TRUE;
+ dev_priv->writeback_works = 1;
DRM_DEBUG( "writeback test succeeded, tmp=%d\n", tmp );
} else {
- dev_priv->writeback_works = FALSE;
+ dev_priv->writeback_works = 0;
DRM_DEBUG( "writeback test failed\n" );
}
diff --git a/shared/radeon_cp.c b/shared/radeon_cp.c
index b0d5b27a..8250c09b 100644
--- a/shared/radeon_cp.c
+++ b/shared/radeon_cp.c
@@ -655,10 +655,10 @@ static void radeon_cp_init_ring_buffer( drm_device_t *dev,
}
if ( tmp < dev_priv->usec_timeout ) {
- dev_priv->writeback_works = TRUE;
+ dev_priv->writeback_works = 1;
DRM_DEBUG( "writeback test succeeded, tmp=%d\n", tmp );
} else {
- dev_priv->writeback_works = FALSE;
+ dev_priv->writeback_works = 0;
DRM_DEBUG( "writeback test failed\n" );
}