Commit af1f16d08f38ab6f17b5760e6ec9d2b7d3a5ff1a

Authored by Harvey Harrison
Committed by Linus Torvalds
1 parent d40cee245f

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>

Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -215,7 +215,7 @@
215 215 __raw_notifier_call_chain(&cpu_chain, CPU_DOWN_FAILED | mod,
216 216 hcpu, nr_calls, NULL);
217 217 printk("%s: attempt to take down CPU %u failed\n",
218   - __FUNCTION__, cpu);
  218 + __func__, cpu);
219 219 err = -EINVAL;
220 220 goto out_release;
221 221 }
... ... @@ -295,7 +295,7 @@
295 295 if (ret == NOTIFY_BAD) {
296 296 nr_calls--;
297 297 printk("%s: attempt to bring up CPU %u failed\n",
298   - __FUNCTION__, cpu);
  298 + __func__, cpu);
299 299 ret = -EINVAL;
300 300 goto out_notify;
301 301 }
... ... @@ -247,7 +247,7 @@
247 247 if (cwq->run_depth > 3) {
248 248 /* morton gets to eat his hat */
249 249 printk("%s: recursion depth exceeded: %d\n",
250   - __FUNCTION__, cwq->run_depth);
  250 + __func__, cwq->run_depth);
251 251 dump_stack();
252 252 }
253 253 while (!list_empty(&cwq->worklist)) {