diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-28 17:21:07 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-01 05:43:09 -0400 |
commit | e48b1b452ff630288c930fd8e0c2d808bc15f7ad (patch) | |
tree | 7ba5f83964a1d965d8b8b6187b39083e1a99dfd2 /arch/powerpc/kernel/iommu.c | |
parent | a78bfbfcfaca64e6198f164c43a60afc8a50e2c6 (diff) |
[POWERPC] Replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/iommu.c')
-rw-r--r-- | arch/powerpc/kernel/iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c index 8f1f4e539c4b..0c663669bc32 100644 --- a/arch/powerpc/kernel/iommu.c +++ b/arch/powerpc/kernel/iommu.c | |||
@@ -520,7 +520,7 @@ void iommu_free_table(struct iommu_table *tbl, const char *node_name) | |||
520 | unsigned int order; | 520 | unsigned int order; |
521 | 521 | ||
522 | if (!tbl || !tbl->it_map) { | 522 | if (!tbl || !tbl->it_map) { |
523 | printk(KERN_ERR "%s: expected TCE map for %s\n", __FUNCTION__, | 523 | printk(KERN_ERR "%s: expected TCE map for %s\n", __func__, |
524 | node_name); | 524 | node_name); |
525 | return; | 525 | return; |
526 | } | 526 | } |
@@ -530,7 +530,7 @@ void iommu_free_table(struct iommu_table *tbl, const char *node_name) | |||
530 | for (i = 0; i < (tbl->it_size/64); i++) { | 530 | for (i = 0; i < (tbl->it_size/64); i++) { |
531 | if (tbl->it_map[i] != 0) { | 531 | if (tbl->it_map[i] != 0) { |
532 | printk(KERN_WARNING "%s: Unexpected TCEs for %s\n", | 532 | printk(KERN_WARNING "%s: Unexpected TCEs for %s\n", |
533 | __FUNCTION__, node_name); | 533 | __func__, node_name); |
534 | break; | 534 | break; |
535 | } | 535 | } |
536 | } | 536 | } |