summary'>refs'>logtreecommitdiff'>stats
path: '>root//'>sys-kernel/boest-v4.20.17//0006-Disable-CONFIG_PROCESSOR_SELECT-printk-s.patch
blob: a76c984d0039265877f49d226971206e5ac8d450 ('>plain) (blame) )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From ff0f62523a76070fe6237819bc88ae971c9b379d Mon Sep 17 00:00:00 2001
From: Bertrand Jacquin <bertrand@jacquin.bzh>
Date: Wed, 9 Jan 2013 00:28:28 +0100
Subject: [PATCH 06/14] Disable CONFIG_PROCESSOR_SELECT printk()'s


Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh>
---
 arch/x86/kernel/cpu/common.c | 17 -----------------
 1 file changed, 17 deletions(-)


diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index ffb181f959d2..d151a6cb99f9 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1137,10 +1137,6 @@ void __init early_cpu_init(void)
 	const struct cpu_dev *const *cdev;
 	int count = 0;

 
-#ifdef CONFIG_PROCESSOR_SELECT
-	pr_info("KERNEL supported cpus:\n");
-#endif
-
 	for (cdev = __x86_cpu_dev_start; cdev < __x86_cpu_dev_end; cdev++) {
 		const struct cpu_dev *cpudev = *cdev;
 
@@ -1148,19 +1144,6 @@ void __init early_cpu_init(void)
 			break;
 		cpu_devs[count] = cpudev;
 		count++;
-
-#ifdef CONFIG_PROCESSOR_SELECT
-		{
-			unsigned int j;
-
-			for (j = 0; j < 2; j++) {
-				if (!cpudev->c_ident[j])
-					continue;
-				pr_info("  %s %s\n", cpudev->c_vendor,
-					cpudev->c_ident[j]);
-			}
-		}
-#endif
 	}
 	early_identify_cpu(&boot_cpu_data);
 }