diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-28 05:13:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:27 -0400 |
commit | bbb8d343affd21850849fa4d41bf91c7527a3d04 (patch) | |
tree | 8d958286b21228673677668e09ed185602568eee /arch/alpha/kernel/smp.c | |
parent | b901d40c970e6db319fe1f8d84db2b9684b6c9bf (diff) |
alpha: remove remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
The change in pci-iommu,c should be safe as arena has not been assigned
when we get to this point.
Some were within #if 0 blocks, have changed them and left the blocks
as they appear to be debugging infrastructure.
A #define FN __FUNCTION__ was removed and occurances of FN were replaced
with __func__ as well.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha/kernel/smp.c')
-rw-r--r-- | arch/alpha/kernel/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index 63c2073401ee..2525692db0ab 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c | |||
@@ -755,7 +755,7 @@ smp_call_function_on_cpu (void (*func) (void *info), void *info, int retry, | |||
755 | if (atomic_read(&data.unstarted_count) > 0) { | 755 | if (atomic_read(&data.unstarted_count) > 0) { |
756 | long start_time = jiffies; | 756 | long start_time = jiffies; |
757 | printk(KERN_ERR "%s: initial timeout -- trying long wait\n", | 757 | printk(KERN_ERR "%s: initial timeout -- trying long wait\n", |
758 | __FUNCTION__); | 758 | __func__); |
759 | timeout = jiffies + 30 * HZ; | 759 | timeout = jiffies + 30 * HZ; |
760 | while (atomic_read(&data.unstarted_count) > 0 | 760 | while (atomic_read(&data.unstarted_count) > 0 |
761 | && time_before(jiffies, timeout)) | 761 | && time_before(jiffies, timeout)) |
@@ -764,7 +764,7 @@ smp_call_function_on_cpu (void (*func) (void *info), void *info, int retry, | |||
764 | long delta = jiffies - start_time; | 764 | long delta = jiffies - start_time; |
765 | printk(KERN_ERR | 765 | printk(KERN_ERR |
766 | "%s: response %ld.%ld seconds into long wait\n", | 766 | "%s: response %ld.%ld seconds into long wait\n", |
767 | __FUNCTION__, delta / HZ, | 767 | __func__, delta / HZ, |
768 | (100 * (delta - ((delta / HZ) * HZ))) / HZ); | 768 | (100 * (delta - ((delta / HZ) * HZ))) / HZ); |
769 | } | 769 | } |
770 | } | 770 | } |