summaryrefslogtreecommitdiff
path: root/shared-core/radeon_drv.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2002-08-29 07:34:49 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2002-08-29 07:34:49 +0000
commit4fcde1efc16ef0849c7aa61d568ef5577e2f1920 (patch)
treea8e8ef7e3419f0a327ff97714cbff677b536308b /shared-core/radeon_drv.h
parent22c1ca1fd5116d55c81bbfdeccd995dc19572a8f (diff)
standardize use of __FUNCTION__ (Linus)
Diffstat (limited to 'shared-core/radeon_drv.h')
-rw-r--r--shared-core/radeon_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/radeon_drv.h b/shared-core/radeon_drv.h
index 7c341b39e..e012bbbd4 100644
--- a/shared-core/radeon_drv.h
+++ b/shared-core/radeon_drv.h
@@ -685,7 +685,7 @@ extern int RADEON_READ_PLL( drm_device_t *dev, int addr );
do { \
if ( !_DRM_LOCK_IS_HELD( dev->lock.hw_lock->lock ) || \
dev->lock.pid != DRM_CURRENTPID ) { \
- DRM_ERROR( "%s called without lock held\n", __func__ ); \
+ DRM_ERROR( "%s called without lock held\n", __FUNCTION__ ); \
return DRM_ERR(EINVAL); \
} \
} while (0)
@@ -747,7 +747,7 @@ do { \
#define BEGIN_RING( n ) do { \
if ( RADEON_VERBOSE ) { \
DRM_INFO( "BEGIN_RING( %d ) in %s\n", \
- n, __func__ ); \
+ n, __FUNCTION__ ); \
} \
if ( dev_priv->ring.space <= (n) * sizeof(u32) ) { \
COMMIT_RING(); \