diff options
| author | Rob Herring <robh@kernel.org> | 2018-03-08 09:21:07 -0600 | 
|---|---|---|
| committer | Rob Herring <robh@kernel.org> | 2018-03-08 09:21:07 -0600 | 
| commit | c679fa6e3aaa5c58fc514b5b88cfa82774b8d390 (patch) | |
| tree | 0c10b339368bd1795152a66a4e245e6f654fb3ec /arch/x86/kernel/cpu/common.c | |
| parent | bdb7013df910681f84eff27b07791d4c160cb76f (diff) | |
| parent | 4fd98e374fd377ae0458a9dc44aa779cf9631ddd (diff) | |
Merge branch 'dtc-update' into dt/next
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
| -rw-r--r-- | arch/x86/kernel/cpu/common.c | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index d63f4b5706e4..824aee0117bb 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c @@ -731,7 +731,7 @@ void cpu_detect(struct cpuinfo_x86 *c)  		cpuid(0x00000001, &tfms, &misc, &junk, &cap0);  		c->x86		= x86_family(tfms);  		c->x86_model	= x86_model(tfms); -		c->x86_mask	= x86_stepping(tfms); +		c->x86_stepping	= x86_stepping(tfms);  		if (cap0 & (1<<19)) {  			c->x86_clflush_size = ((misc >> 8) & 0xff) * 8; @@ -1184,9 +1184,9 @@ static void identify_cpu(struct cpuinfo_x86 *c)  	int i;  	c->loops_per_jiffy = loops_per_jiffy; -	c->x86_cache_size = -1; +	c->x86_cache_size = 0;  	c->x86_vendor = X86_VENDOR_UNKNOWN; -	c->x86_model = c->x86_mask = 0;	/* So far unknown... */ +	c->x86_model = c->x86_stepping = 0;	/* So far unknown... */  	c->x86_vendor_id[0] = '\0'; /* Unset */  	c->x86_model_id[0] = '\0';  /* Unset */  	c->x86_max_cores = 1; @@ -1378,8 +1378,8 @@ void print_cpu_info(struct cpuinfo_x86 *c)  	pr_cont(" (family: 0x%x, model: 0x%x", c->x86, c->x86_model); -	if (c->x86_mask || c->cpuid_level >= 0) -		pr_cont(", stepping: 0x%x)\n", c->x86_mask); +	if (c->x86_stepping || c->cpuid_level >= 0) +		pr_cont(", stepping: 0x%x)\n", c->x86_stepping);  	else  		pr_cont(")\n");  }  | 
