summaryrefslogtreecommitdiff
path: root/shared-core/r128_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/r128_drv.h
parent22c1ca1fd5116d55c81bbfdeccd995dc19572a8f (diff)
standardize use of __FUNCTION__ (Linus)
Diffstat (limited to 'shared-core/r128_drv.h')
-rw-r--r--shared-core/r128_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/r128_drv.h b/shared-core/r128_drv.h
index 04296590..aeb73e08 100644
--- a/shared-core/r128_drv.h
+++ b/shared-core/r128_drv.h
@@ -401,7 +401,7 @@ extern int R128_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)
@@ -459,7 +459,7 @@ do { \
#define BEGIN_RING( n ) do { \
if ( R128_VERBOSE ) { \
DRM_INFO( "BEGIN_RING( %d ) in %s\n", \
- (n), __func__ ); \
+ (n), __FUNCTION__ ); \
} \
if ( dev_priv->ring.space <= (n) * sizeof(u32) ) { \
r128_wait_ring( dev_priv, (n) * sizeof(u32) ); \