summaryrefslogtreecommitdiffstats
path: root/sys-kernel/boest-v4.14.74/0007-Disable-CONFIG_PROCESSOR_SELECT-printk-s.patch
blob: 7dc9724ad5c91476eed4d43a429bb0cc2fdd993b (plain)
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 30b764e04f5db5a8464c99c93f33234e713a670c Mon Sep 17 00:00:00 2001
From: Bertrand Jacquin <bertrand@jacquin.bzh>
Date: Wed, 9 Jan 2013 00:28:28 +0100
Subject: [PATCH 07/18] 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 7d2a7890a823..0dc0672f46ab 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1047,10 +1047,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;
 
@@ -1058,19 +1054,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);
 }