aboutsummaryrefslogtreecommitdiff
path: root/util/mptable/mptable.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/mptable/mptable.c')
-rw-r--r--util/mptable/mptable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/mptable/mptable.c b/util/mptable/mptable.c
index 6d5c565170..b253b75248 100644
--- a/util/mptable/mptable.c
+++ b/util/mptable/mptable.c
@@ -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);",
"}",