mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
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>
This commit is contained in:
parent
d40cee245f
commit
af1f16d08f
2 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
hcpu, nr_calls, NULL);
|
||||
printk("%s: attempt to take down CPU %u failed\n",
|
||||
__FUNCTION__, cpu);
|
||||
__func__, cpu);
|
||||
err = -EINVAL;
|
||||
goto out_release;
|
||||
}
|
||||
|
@ -295,7 +295,7 @@ static int __cpuinit _cpu_up(unsigned int cpu, int tasks_frozen)
|
|||
if (ret == NOTIFY_BAD) {
|
||||
nr_calls--;
|
||||
printk("%s: attempt to bring up CPU %u failed\n",
|
||||
__FUNCTION__, cpu);
|
||||
__func__, cpu);
|
||||
ret = -EINVAL;
|
||||
goto out_notify;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue