diff options
Diffstat (limited to 'arch/x86/kernel/cpu/common.c')
-rw-r--r-- | arch/x86/kernel/cpu/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c index cbbd57ae06ee..ffb181f959d2 100644 --- a/arch/x86/kernel/cpu/common.c +++ b/arch/x86/kernel/cpu/common.c | |||
@@ -1074,7 +1074,7 @@ static void __init early_identify_cpu(struct cpuinfo_x86 *c) | |||
1074 | #endif | 1074 | #endif |
1075 | c->x86_cache_alignment = c->x86_clflush_size; | 1075 | c->x86_cache_alignment = c->x86_clflush_size; |
1076 | 1076 | ||
1077 | memset(&c->x86_capability, 0, sizeof c->x86_capability); | 1077 | memset(&c->x86_capability, 0, sizeof(c->x86_capability)); |
1078 | c->extended_cpuid_level = 0; | 1078 | c->extended_cpuid_level = 0; |
1079 | 1079 | ||
1080 | if (!have_cpuid_p()) | 1080 | if (!have_cpuid_p()) |
@@ -1317,7 +1317,7 @@ static void identify_cpu(struct cpuinfo_x86 *c) | |||
1317 | c->x86_virt_bits = 32; | 1317 | c->x86_virt_bits = 32; |
1318 | #endif | 1318 | #endif |
1319 | c->x86_cache_alignment = c->x86_clflush_size; | 1319 | c->x86_cache_alignment = c->x86_clflush_size; |
1320 | memset(&c->x86_capability, 0, sizeof c->x86_capability); | 1320 | memset(&c->x86_capability, 0, sizeof(c->x86_capability)); |
1321 | 1321 | ||
1322 | generic_identify(c); | 1322 | generic_identify(c); |
1323 | 1323 | ||