|
@@ -487,7 +487,6 @@ out:
|
|
static void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c)
|
|
static void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c)
|
|
{
|
|
{
|
|
char *v = c->x86_vendor_id;
|
|
char *v = c->x86_vendor_id;
|
|
- static int printed;
|
|
|
|
int i;
|
|
int i;
|
|
|
|
|
|
for (i = 0; i < X86_VENDOR_NUM; i++) {
|
|
for (i = 0; i < X86_VENDOR_NUM; i++) {
|
|
@@ -504,13 +503,9 @@ static void __cpuinit get_cpu_vendor(struct cpuinfo_x86 *c)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (!printed) {
|
|
|
|
- printed++;
|
|
|
|
- printk(KERN_ERR
|
|
|
|
- "CPU: vendor_id '%s' unknown, using generic init.\n", v);
|
|
|
|
-
|
|
|
|
- printk(KERN_ERR "CPU: Your system may be unstable.\n");
|
|
|
|
- }
|
|
|
|
|
|
+ printk_once(KERN_ERR
|
|
|
|
+ "CPU: vendor_id '%s' unknown, using generic init.\n" \
|
|
|
|
+ "CPU: Your system may be unstable.\n", v);
|
|
|
|
|
|
c->x86_vendor = X86_VENDOR_UNKNOWN;
|
|
c->x86_vendor = X86_VENDOR_UNKNOWN;
|
|
this_cpu = &default_cpu;
|
|
this_cpu = &default_cpu;
|