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/rtas_pci.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/rtas_pci.c')
-rw-r--r-- | arch/powerpc/kernel/rtas_pci.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/rtas_pci.c b/arch/powerpc/kernel/rtas_pci.c index 433a0a0949fb..945e8f4db873 100644 --- a/arch/powerpc/kernel/rtas_pci.c +++ b/arch/powerpc/kernel/rtas_pci.c | |||
@@ -326,7 +326,7 @@ int pcibios_remove_root_bus(struct pci_controller *phb) | |||
326 | 326 | ||
327 | res = b->resource[0]; | 327 | res = b->resource[0]; |
328 | if (!res->flags) { | 328 | if (!res->flags) { |
329 | printk(KERN_ERR "%s: no IO resource for PHB %s\n", __FUNCTION__, | 329 | printk(KERN_ERR "%s: no IO resource for PHB %s\n", __func__, |
330 | b->name); | 330 | b->name); |
331 | return 1; | 331 | return 1; |
332 | } | 332 | } |
@@ -334,13 +334,13 @@ int pcibios_remove_root_bus(struct pci_controller *phb) | |||
334 | rc = pcibios_unmap_io_space(b); | 334 | rc = pcibios_unmap_io_space(b); |
335 | if (rc) { | 335 | if (rc) { |
336 | printk(KERN_ERR "%s: failed to unmap IO on bus %s\n", | 336 | printk(KERN_ERR "%s: failed to unmap IO on bus %s\n", |
337 | __FUNCTION__, b->name); | 337 | __func__, b->name); |
338 | return 1; | 338 | return 1; |
339 | } | 339 | } |
340 | 340 | ||
341 | if (release_resource(res)) { | 341 | if (release_resource(res)) { |
342 | printk(KERN_ERR "%s: failed to release IO on bus %s\n", | 342 | printk(KERN_ERR "%s: failed to release IO on bus %s\n", |
343 | __FUNCTION__, b->name); | 343 | __func__, b->name); |
344 | return 1; | 344 | return 1; |
345 | } | 345 | } |
346 | 346 | ||
@@ -348,13 +348,13 @@ int pcibios_remove_root_bus(struct pci_controller *phb) | |||
348 | res = b->resource[i]; | 348 | res = b->resource[i]; |
349 | if (!res->flags && i == 0) { | 349 | if (!res->flags && i == 0) { |
350 | printk(KERN_ERR "%s: no MEM resource for PHB %s\n", | 350 | printk(KERN_ERR "%s: no MEM resource for PHB %s\n", |
351 | __FUNCTION__, b->name); | 351 | __func__, b->name); |
352 | return 1; | 352 | return 1; |
353 | } | 353 | } |
354 | if (res->flags && release_resource(res)) { | 354 | if (res->flags && release_resource(res)) { |
355 | printk(KERN_ERR | 355 | printk(KERN_ERR |
356 | "%s: failed to release IO %d on bus %s\n", | 356 | "%s: failed to release IO %d on bus %s\n", |
357 | __FUNCTION__, i, b->name); | 357 | __func__, i, b->name); |
358 | return 1; | 358 | return 1; |
359 | } | 359 | } |
360 | } | 360 | } |