sh: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
committed by
Paul Mundt
parent
ad0caae0de
commit
866e6b9e50
@ -216,7 +216,7 @@ void sq_unmap(unsigned long vaddr)
|
||||
|
||||
if (unlikely(!map)) {
|
||||
printk("%s: bad store queue address 0x%08lx\n",
|
||||
__FUNCTION__, vaddr);
|
||||
__func__, vaddr);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -233,7 +233,7 @@ void sq_unmap(unsigned long vaddr)
|
||||
vma = remove_vm_area((void *)(map->sq_addr & PAGE_MASK));
|
||||
if (!vma) {
|
||||
printk(KERN_ERR "%s: bad address 0x%08lx\n",
|
||||
__FUNCTION__, map->sq_addr);
|
||||
__func__, map->sq_addr);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc,
|
||||
if (dest >= 63) {
|
||||
printk(KERN_NOTICE "%s: Invalid dest reg %d "
|
||||
"specified in movi handler. Failed "
|
||||
"opcode was 0x%lx: ", __FUNCTION__,
|
||||
"opcode was 0x%lx: ", __func__,
|
||||
dest, op);
|
||||
|
||||
continue;
|
||||
|
@ -77,7 +77,7 @@ static unsigned long cmt_timer_get_offset(void)
|
||||
count -= LATCH;
|
||||
} else {
|
||||
printk("%s (): hardware timer problem?\n",
|
||||
__FUNCTION__);
|
||||
__func__);
|
||||
}
|
||||
}
|
||||
} else
|
||||
|
@ -76,7 +76,7 @@ static unsigned long mtu2_timer_get_offset(void)
|
||||
count -= LATCH;
|
||||
} else {
|
||||
printk("%s (): hardware timer problem?\n",
|
||||
__FUNCTION__);
|
||||
__func__);
|
||||
}
|
||||
}
|
||||
} else
|
||||
|
@ -29,7 +29,7 @@ static int __init topology_init(void)
|
||||
ret = register_cpu(&per_cpu(cpu_devices, i), i);
|
||||
if (unlikely(ret))
|
||||
printk(KERN_WARNING "%s: register_cpu %d failed (%d)\n",
|
||||
__FUNCTION__, i, ret);
|
||||
__func__, i, ret);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_NUMA) && !defined(CONFIG_SMP)
|
||||
|
@ -238,7 +238,7 @@ DO_ERROR(12, SIGILL, "reserved instruction", reserved_inst, current)
|
||||
/* Called with interrupts disabled */
|
||||
asmlinkage void do_exception_error(unsigned long ex, struct pt_regs *regs)
|
||||
{
|
||||
show_excp_regs(__FUNCTION__, -1, -1, regs);
|
||||
show_excp_regs(__func__, -1, -1, regs);
|
||||
die_if_kernel("exception", regs, ex);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user