Use __LP64__ instead of checking the linux-specific BITS_PER_LONG.

main
Eric Anholt 2006-04-18 05:57:28 +00:00
parent 63c4d02576
commit 40b70e3244
1 changed files with 1 additions and 1 deletions

View File

@ -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 BITS_PER_LONG == 32
#if !__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