summaryrefslogtreecommitdiff
path: root/shared-core/radeon_state.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-04-18 06:12:22 +0000
committerEric Anholt <anholt@freebsd.org>2006-04-18 06:12:22 +0000
commit1327222f9b5521c2d98f7550eb335b68e2af3aea (patch)
treeaf9c802e53552458c372bf183fc186bf8b1caa26 /shared-core/radeon_state.c
parent2abd1f270bccfdda6e87021000ba88e07f54c181 (diff)
Err, use "ifndef" rather than "if !", to avoid compiler warning.
Diffstat (limited to 'shared-core/radeon_state.c')
-rw-r--r--shared-core/radeon_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c
index a56d584d..ab749ab2 100644
--- a/shared-core/radeon_state.c
+++ b/shared-core/radeon_state.c
@@ -2970,7 +2970,7 @@ static int radeon_cp_getparam(DRM_IOCTL_ARGS)
case RADEON_PARAM_STATUS_HANDLE:
value = dev_priv->ring_rptr_offset;
break;
-#if !__LP64__
+#ifndef __LP64__
/*
* This ioctl() doesn't work on 64-bit platforms because hw_lock is a
* pointer which can't fit into an int-sized variable. According to