summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/cpu/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index cc25c2b4a567..617a29f95b3c 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -656,6 +656,7 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c)
void __init early_cpu_init(void)
{
+#ifdef PROCESSOR_SELECT
const struct cpu_dev *const *cdev;
int count = 0;
@@ -676,7 +677,7 @@ void __init early_cpu_init(void)
cpudev->c_ident[j]);
}
}
-
+#endif
early_identify_cpu(&boot_cpu_data);
}