diff options
Diffstat (limited to 'arch/x86/kernel/cpu/amd.c')
-rw-r--r-- | arch/x86/kernel/cpu/amd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 903a264af981..bca023bdd6b2 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c | |||
@@ -339,7 +339,7 @@ static void amd_get_topology(struct cpuinfo_x86 *c) | |||
339 | #endif | 339 | #endif |
340 | 340 | ||
341 | /* | 341 | /* |
342 | * On a AMD dual core setup the lower bits of the APIC id distingush the cores. | 342 | * On a AMD dual core setup the lower bits of the APIC id distinguish the cores. |
343 | * Assumes number of cores is a power of two. | 343 | * Assumes number of cores is a power of two. |
344 | */ | 344 | */ |
345 | static void amd_detect_cmp(struct cpuinfo_x86 *c) | 345 | static void amd_detect_cmp(struct cpuinfo_x86 *c) |
@@ -823,8 +823,8 @@ static const struct cpu_dev amd_cpu_dev = { | |||
823 | .c_vendor = "AMD", | 823 | .c_vendor = "AMD", |
824 | .c_ident = { "AuthenticAMD" }, | 824 | .c_ident = { "AuthenticAMD" }, |
825 | #ifdef CONFIG_X86_32 | 825 | #ifdef CONFIG_X86_32 |
826 | .c_models = { | 826 | .legacy_models = { |
827 | { .vendor = X86_VENDOR_AMD, .family = 4, .model_names = | 827 | { .family = 4, .model_names = |
828 | { | 828 | { |
829 | [3] = "486 DX/2", | 829 | [3] = "486 DX/2", |
830 | [7] = "486 DX/2-WB", | 830 | [7] = "486 DX/2-WB", |
@@ -835,7 +835,7 @@ static const struct cpu_dev amd_cpu_dev = { | |||
835 | } | 835 | } |
836 | }, | 836 | }, |
837 | }, | 837 | }, |
838 | .c_size_cache = amd_size_cache, | 838 | .legacy_cache_size = amd_size_cache, |
839 | #endif | 839 | #endif |
840 | .c_early_init = early_init_amd, | 840 | .c_early_init = early_init_amd, |
841 | .c_detect_tlb = cpu_detect_tlb_amd, | 841 | .c_detect_tlb = cpu_detect_tlb_amd, |