aboutsummaryrefslogtreecommitdiff
path: root/src/x86/cache/descriptor.c
diff options
context:
space:
mode:
authorMarat Dukhan <maratek@gmail.com>2017-04-16 05:04:04 -0400
committerMarat Dukhan <maratek@gmail.com>2017-04-16 05:04:04 -0400
commit0fbcdfdc8f646dbf4b61b5bbb79175ebb5892cec (patch)
treed9138a6795bb0292161423957daeab172ca43ea0 /src/x86/cache/descriptor.c
parente25187d5e37485955ab84213661db7950eae618c (diff)
downloadcpuinfo-0fbcdfdc8f646dbf4b61b5bbb79175ebb5892cec.tar.gz
Fix x86 compilation problems
Diffstat (limited to 'src/x86/cache/descriptor.c')
-rw-r--r--src/x86/cache/descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86/cache/descriptor.c b/src/x86/cache/descriptor.c
index 573fe47..28e18ce 100644
--- a/src/x86/cache/descriptor.c
+++ b/src/x86/cache/descriptor.c
@@ -891,7 +891,7 @@ void cpuinfo_x86_decode_cache_descriptor(
#if CPUINFO_ARCH_X86
case cpuinfo_vendor_cyrix:
case cpuinfo_vendor_nsc:
- *dtlb_4KB = itlb_4KB = (struct cpuinfo_tlb) {
+ *dtlb_4KB = *itlb_4KB = (struct cpuinfo_tlb) {
.entries = 32,
.associativity = 4,
.pages = CPUINFO_PAGE_SIZE_4KB