diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-04-30 03:55:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:54 -0400 |
commit | af1f16d08f38ab6f17b5760e6ec9d2b7d3a5ff1a (patch) | |
tree | 7d03fc171300efd43634d2e28d913fd508ab7474 /kernel/cpu.c | |
parent | d40cee245ff6ad05d3448401d7320be82c1c5af1 (diff) |
kernel: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r-- | kernel/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index a98f6ab16ecd..c77bc3a1c722 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c | |||
@@ -215,7 +215,7 @@ static int __ref _cpu_down(unsigned int cpu, int tasks_frozen) | |||
215 | __raw_notifier_call_chain(&cpu_chain, CPU_DOWN_FAILED | mod, | 215 | __raw_notifier_call_chain(&cpu_chain, CPU_DOWN_FAILED | mod, |
216 | hcpu, nr_calls, NULL); | 216 | hcpu, nr_calls, NULL); |
217 | printk("%s: attempt to take down CPU %u failed\n", | 217 | printk("%s: attempt to take down CPU %u failed\n", |
218 | __FUNCTION__, cpu); | 218 | __func__, cpu); |
219 | err = -EINVAL; | 219 | err = -EINVAL; |
220 | goto out_release; | 220 | goto out_release; |
221 | } | 221 | } |
@@ -295,7 +295,7 @@ static int __cpuinit _cpu_up(unsigned int cpu, int tasks_frozen) | |||
295 | if (ret == NOTIFY_BAD) { | 295 | if (ret == NOTIFY_BAD) { |
296 | nr_calls--; | 296 | nr_calls--; |
297 | printk("%s: attempt to bring up CPU %u failed\n", | 297 | printk("%s: attempt to bring up CPU %u failed\n", |
298 | __FUNCTION__, cpu); | 298 | __func__, cpu); |
299 | ret = -EINVAL; | 299 | ret = -EINVAL; |
300 | goto out_notify; | 300 | goto out_notify; |
301 | } | 301 | } |