summaryrefslogtreecommitdiff
path: root/src/boot/hardwaremain.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-09-26 14:36:27 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-09-26 14:36:27 +0000
commit987fe0f2a477a133ddf5a912535354ae49565afd (patch)
treebf72703f1c3236faf055e77fd744f88b1fd47258 /src/boot/hardwaremain.c
parent0502b7a64c748ffba5e509b8be400debf0396a0e (diff)
downloadcoreboot-987fe0f2a477a133ddf5a912535354ae49565afd.tar.xz
fix 'deprecated' warnings
more via fixes git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1144 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/boot/hardwaremain.c')
-rw-r--r--src/boot/hardwaremain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/hardwaremain.c b/src/boot/hardwaremain.c
index de7600743d..6231d1167e 100644
--- a/src/boot/hardwaremain.c
+++ b/src/boot/hardwaremain.c
@@ -88,11 +88,11 @@ void secondary_cpu_init(void)
int index;
atomic_inc(&active_cpus);
- printk_debug(__FUNCTION__ "\n");
+ printk_debug("%s\n", __FUNCTION__);
mem = get_ramsize();
id = cpu_initialize(mem);
index = processor_index(id);
- printk_debug(__FUNCTION__ " %d/%u\n", index, id);
+ printk_debug("%s %d/%u\n", __FUNCTION__ , index, id);
processor_map[index] = CPU_ENABLED;
atomic_dec(&active_cpus);
stop_cpu(id);