diff options
Diffstat (limited to 'sysdeps/x86/cpu-tunables.c')
-rw-r--r-- | sysdeps/x86/cpu-tunables.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/x86/cpu-tunables.c b/sysdeps/x86/cpu-tunables.c index 38ad2c2e84..666ec571f2 100644 --- a/sysdeps/x86/cpu-tunables.c +++ b/sysdeps/x86/cpu-tunables.c @@ -54,7 +54,7 @@ extern __typeof (memcmp) DEFAULT_MEMCMP; _Static_assert (sizeof (#name) - 1 == len, #name " != " #len); \ if (!DEFAULT_MEMCMP (f, #name, len)) \ { \ - cpu_features->feature[index_arch_##name] \ + cpu_features->feature_##name[index_arch_##name] \ &= ~bit_arch_##name; \ break; \ } @@ -66,10 +66,10 @@ extern __typeof (memcmp) DEFAULT_MEMCMP; if (!DEFAULT_MEMCMP (f, #name, len)) \ { \ if (disable) \ - cpu_features->feature[index_arch_##name] \ + cpu_features->feature_##name[index_arch_##name] \ &= ~bit_arch_##name; \ else \ - cpu_features->feature[index_arch_##name] \ + cpu_features->feature_##name[index_arch_##name] \ |= bit_arch_##name; \ break; \ } @@ -82,10 +82,10 @@ extern __typeof (memcmp) DEFAULT_MEMCMP; if (!DEFAULT_MEMCMP (f, #name, len)) \ { \ if (disable) \ - cpu_features->feature[index_arch_##name] \ + cpu_features->feature_##name[index_arch_##name] \ &= ~bit_arch_##name; \ else if (CPU_FEATURES_ARCH_P (cpu_features, need)) \ - cpu_features->feature[index_arch_##name] \ + cpu_features->feature_##name[index_arch_##name] \ |= bit_arch_##name; \ break; \ } @@ -98,10 +98,10 @@ extern __typeof (memcmp) DEFAULT_MEMCMP; if (!DEFAULT_MEMCMP (f, #name, len)) \ { \ if (disable) \ - cpu_features->feature[index_arch_##name] \ + cpu_features->feature_##name[index_arch_##name] \ &= ~bit_arch_##name; \ else if (CPU_FEATURES_CPU_P (cpu_features, need)) \ - cpu_features->feature[index_arch_##name] \ + cpu_features->feature_##name[index_arch_##name] \ |= bit_arch_##name; \ break; \ } |