summary'>refs'>logtreecommitdiff'>stats
path: '>root//'>sys-kernel/boest-v4.4.198//0008-Disable-CONFIG_PROCESSOR_SELECT-printk-s.patch
blob: 3bd1d7eae448704ac28d86933b39af1a2d4d17d5 ('>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 7d05349841c8cecc4dd8cde6f8745256bae2fc53 Mon Sep 17 00:00:00 2001
From: Bertrand Jacquin <bertrand@jacquin.bzh>
Date: Wed, 9 Jan 2013 00:28:28 +0100
Subject: [PATCH 08/20] 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 3965235973c8..1b2d38a6cb31 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -1026,10 +1026,6 @@ void __init early_cpu_init(void)
 	const struct cpu_dev *const *cdev;
 	int count = 0;
 
-#ifdef CONFIG_PROCESSOR_SELECT
-	printk(KERN_INFO "KERNEL supported cpus:\n");
-#endif
-
 	for (cdev = __x86_cpu_dev_start; cdev < __x86_cpu_dev_end; cdev++) {
 		const struct cpu_dev *cpudev = *cdev;

 
@@ -1037,19 +1033,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;
-				printk(KERN_INFO "  %s %s\n", cpudev->c_vendor,
-					cpudev->c_ident[j]);
-			}
-		}
-#endif
 	}
 	early_identify_cpu(&boot_cpu_data);
 }