summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/mpspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/mpspec.c b/src/arch/x86/mpspec.c
index 2e65e252d5..739d185bf0 100644
--- a/src/arch/x86/mpspec.c
+++ b/src/arch/x86/mpspec.c
@@ -575,7 +575,7 @@ unsigned long __weak write_smp_table(unsigned long addr)
for (dev = all_devices; dev; dev = dev->next) {
- if (dev->path.type != DEVICE_PATH_PCI || !dev->enabled)
+ if (!is_enabled_pci(dev))
continue;
have_fixed_entries = 0;