summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/northbridge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/northbridge.c b/src/mainboard/emulation/qemu-i440fx/northbridge.c
index 68410b03e7..b7630a138b 100644
--- a/src/mainboard/emulation/qemu-i440fx/northbridge.c
+++ b/src/mainboard/emulation/qemu-i440fx/northbridge.c
@@ -13,6 +13,7 @@
#include <stdlib.h>
#include <string.h>
#include <smbios.h>
+#include <types.h>
#include "memory.h"
#include "fw_cfg.h"
@@ -250,7 +251,7 @@ void mp_init_cpus(struct bus *cpu_bus)
{
const struct mp_ops *ops = CONFIG(SMM_TSEG) ? &mp_ops_with_smm : &mp_ops_no_smm;
- if (mp_init_with_smm(cpu_bus, ops))
+ if (mp_init_with_smm(cpu_bus, ops) != CB_SUCCESS)
printk(BIOS_ERR, "MP initialization failure.\n");
}