diff options
Diffstat (limited to 'src/arch/x86/mpspec.c')
-rw-r--r-- | src/arch/x86/mpspec.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/arch/x86/mpspec.c b/src/arch/x86/mpspec.c index 93058f1db2..2e65e252d5 100644 --- a/src/arch/x86/mpspec.c +++ b/src/arch/x86/mpspec.c @@ -160,12 +160,7 @@ void smp_write_processors(struct mp_config_table *mc) for (order_id = 0; order_id < 256; order_id++) { for (cpu = all_devices; cpu; cpu = cpu->next) { unsigned long cpu_flag; - if ((cpu->path.type != DEVICE_PATH_APIC) || - (cpu->bus->dev->path.type != - DEVICE_PATH_CPU_CLUSTER)) - continue; - - if (!cpu->enabled) + if (!is_enabled_cpu(cpu)) continue; cpu_flag = MPC_CPU_ENABLED; |