1
0
Fork 0

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>
hifive-unleashed-5.1
Harvey Harrison 2008-04-30 00:55:08 -07:00 committed by Linus Torvalds
parent d40cee245f
commit af1f16d08f
2 changed files with 3 additions and 3 deletions

View File

@ -215,7 +215,7 @@ static int __ref _cpu_down(unsigned int cpu, int tasks_frozen)
__raw_notifier_call_chain(&cpu_chain, CPU_DOWN_FAILED | mod, __raw_notifier_call_chain(&cpu_chain, CPU_DOWN_FAILED | mod,
hcpu, nr_calls, NULL); hcpu, nr_calls, NULL);
printk("%s: attempt to take down CPU %u failed\n", printk("%s: attempt to take down CPU %u failed\n",
__FUNCTION__, cpu); __func__, cpu);
err = -EINVAL; err = -EINVAL;
goto out_release; goto out_release;
} }
@ -295,7 +295,7 @@ static int __cpuinit _cpu_up(unsigned int cpu, int tasks_frozen)
if (ret == NOTIFY_BAD) { if (ret == NOTIFY_BAD) {
nr_calls--; nr_calls--;
printk("%s: attempt to bring up CPU %u failed\n", printk("%s: attempt to bring up CPU %u failed\n",
__FUNCTION__, cpu); __func__, cpu);
ret = -EINVAL; ret = -EINVAL;
goto out_notify; goto out_notify;
} }

View File

@ -247,7 +247,7 @@ static void run_workqueue(struct cpu_workqueue_struct *cwq)
if (cwq->run_depth > 3) { if (cwq->run_depth > 3) {
/* morton gets to eat his hat */ /* morton gets to eat his hat */
printk("%s: recursion depth exceeded: %d\n", printk("%s: recursion depth exceeded: %d\n",
__FUNCTION__, cwq->run_depth); __func__, cwq->run_depth);
dump_stack(); dump_stack();
} }
while (!list_empty(&cwq->worklist)) { while (!list_empty(&cwq->worklist)) {