aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-01-07 17:42:41 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 18:48:54 -0500
commit9b4778f680aa79d838ae2be6ab958938f744ce5f (patch)
tree3f3fc913d8141147898c29ed36b8a43ec20683b1 /drivers/gpu/drm/i915/i915_gem.c
parent8cfc7f9c005313ecd4e98ad1feb391d8dfce9ed2 (diff)
trivial: replace last usages of __FUNCTION__ in kernel
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 14afc23a0e24..1384d6686555 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -1445,7 +1445,7 @@ static void i915_write_fence_reg(struct drm_i915_fence_reg *reg)
1445 1445
1446 if ((obj_priv->gtt_offset & ~I915_FENCE_START_MASK) || 1446 if ((obj_priv->gtt_offset & ~I915_FENCE_START_MASK) ||
1447 (obj_priv->gtt_offset & (obj->size - 1))) { 1447 (obj_priv->gtt_offset & (obj->size - 1))) {
1448 WARN(1, "%s: object not 1M or size aligned\n", __FUNCTION__); 1448 WARN(1, "%s: object not 1M or size aligned\n", __func__);
1449 return; 1449 return;
1450 } 1450 }
1451 1451
@@ -1478,7 +1478,7 @@ static void i830_write_fence_reg(struct drm_i915_fence_reg *reg)
1478 1478
1479 if ((obj_priv->gtt_offset & ~I915_FENCE_START_MASK) || 1479 if ((obj_priv->gtt_offset & ~I915_FENCE_START_MASK) ||
1480 (obj_priv->gtt_offset & (obj->size - 1))) { 1480 (obj_priv->gtt_offset & (obj->size - 1))) {
1481 WARN(1, "%s: object not 1M or size aligned\n", __FUNCTION__); 1481 WARN(1, "%s: object not 1M or size aligned\n", __func__);
1482 return; 1482 return;
1483 } 1483 }
1484 1484