diff options
Diffstat (limited to 'arch/x86/kernel/cpu/cyrix.c')
| -rw-r--r-- | arch/x86/kernel/cpu/cyrix.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/arch/x86/kernel/cpu/cyrix.c b/arch/x86/kernel/cpu/cyrix.c index 7139b0262703..9c4ee98f2cb8 100644 --- a/arch/x86/kernel/cpu/cyrix.c +++ b/arch/x86/kernel/cpu/cyrix.c | |||
| @@ -439,11 +439,7 @@ static struct cpu_dev cyrix_cpu_dev __cpuinitdata = { | |||
| 439 | .c_identify = cyrix_identify, | 439 | .c_identify = cyrix_identify, |
| 440 | }; | 440 | }; |
| 441 | 441 | ||
| 442 | int __init cyrix_init_cpu(void) | 442 | cpu_vendor_dev_register(X86_VENDOR_CYRIX, &cyrix_cpu_dev); |
| 443 | { | ||
| 444 | cpu_devs[X86_VENDOR_CYRIX] = &cyrix_cpu_dev; | ||
| 445 | return 0; | ||
| 446 | } | ||
| 447 | 443 | ||
| 448 | static struct cpu_dev nsc_cpu_dev __cpuinitdata = { | 444 | static struct cpu_dev nsc_cpu_dev __cpuinitdata = { |
| 449 | .c_vendor = "NSC", | 445 | .c_vendor = "NSC", |
| @@ -451,9 +447,4 @@ static struct cpu_dev nsc_cpu_dev __cpuinitdata = { | |||
| 451 | .c_init = init_nsc, | 447 | .c_init = init_nsc, |
| 452 | }; | 448 | }; |
| 453 | 449 | ||
| 454 | int __init nsc_init_cpu(void) | 450 | cpu_vendor_dev_register(X86_VENDOR_NSC, &nsc_cpu_dev); |
| 455 | { | ||
| 456 | cpu_devs[X86_VENDOR_NSC] = &nsc_cpu_dev; | ||
| 457 | return 0; | ||
| 458 | } | ||
| 459 | |||
