Commit 74074dec authored by Harvey Harrison's avatar Harvey Harrison Committed by David S. Miller

sparc: replace remaining __FUNCTION__ occurances

__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7729d74e
...@@ -101,7 +101,7 @@ void __init fill_ebus_child(struct device_node *dp, ...@@ -101,7 +101,7 @@ void __init fill_ebus_child(struct device_node *dp,
prom_printf("UGH: property for %s was %d, need < %d\n", prom_printf("UGH: property for %s was %d, need < %d\n",
dev->prom_node->name, len, dev->prom_node->name, len,
dev->parent->num_addrs); dev->parent->num_addrs);
panic(__FUNCTION__); panic(__func__);
} }
/* XXX resource */ /* XXX resource */
...@@ -162,7 +162,7 @@ void __init fill_ebus_device(struct device_node *dp, struct linux_ebus_device *d ...@@ -162,7 +162,7 @@ void __init fill_ebus_device(struct device_node *dp, struct linux_ebus_device *d
prom_printf("UGH: proplen for %s was %d, need multiple of %d\n", prom_printf("UGH: proplen for %s was %d, need multiple of %d\n",
dev->prom_node->name, len, dev->prom_node->name, len,
(int)sizeof(struct linux_prom_registers)); (int)sizeof(struct linux_prom_registers));
panic(__FUNCTION__); panic(__func__);
} }
dev->num_addrs = len / sizeof(struct linux_prom_registers); dev->num_addrs = len / sizeof(struct linux_prom_registers);
...@@ -324,7 +324,7 @@ void __init ebus_init(void) ...@@ -324,7 +324,7 @@ void __init ebus_init(void)
regs = of_get_property(dp, "reg", &len); regs = of_get_property(dp, "reg", &len);
if (!regs) { if (!regs) {
prom_printf("%s: can't find reg property\n", prom_printf("%s: can't find reg property\n",
__FUNCTION__); __func__);
prom_halt(); prom_halt();
} }
nreg = len / sizeof(struct linux_prom_pci_registers); nreg = len / sizeof(struct linux_prom_pci_registers);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment