printk_foo -> printk(BIOS_FOO, ...)
[coreboot.git] / util / mptable / mptable.c
index 6d5c565170752fcdd588e69a946c4d8e9def9478..b253b7524816885c6165288c25037d39433985ba 100644 (file)
@@ -304,7 +304,7 @@ char *preamble[] = {
 "#include <string.h>",
 "#include <stdint.h>",
 "",
-"void *smp_write_config_table(void *v)",
+"static void *smp_write_config_table(void *v)",
 "{",
 "        static const char sig[4] = \"PCMP\";",
 "        static const char oem[8] = \"LNXI    \";",
@@ -340,7 +340,7 @@ char *postamble[] = {
 "      /* Compute the checksums */",
 "      mc->mpe_checksum = smp_compute_checksum(smp_next_mpc_entry(mc), mc->mpe_length);",
 "      mc->mpc_checksum = smp_compute_checksum(mc, mc->mpc_length);",
-"      printk_debug(\"Wrote the mp table end at: %p - %p\\n\",",
+"      printk(BIOS_DEBUG, \"Wrote the mp table end at: %p - %p\\n\",",
 "              mc, smp_next_mpe_entry(mc));",
 "      return smp_next_mpe_entry(mc);",
 "}",