Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169990
b: refs/heads/master
c: 31c997c
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Nov 14, 2009
1 parent 491d1ea commit a8bc048
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b01c845f0f2e3f9e54e6a78d5d56895f5b95e818
refs/heads/master: 31c997cac76e62918858a432fff6e43fd48425f9
22 changes: 14 additions & 8 deletions trunk/arch/x86/kernel/cpu/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,28 +651,34 @@ 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;

#ifdef 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;
unsigned int j;

if (count >= X86_VENDOR_NUM)
break;
cpu_devs[count] = cpudev;
count++;

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]);
#ifdef 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);
}

Expand Down

0 comments on commit a8bc048

Please sign in to comment.