Skip to content

Commit 9715cca

Browse files
authored
[FMV][AArch64] Fix build after edb4319, try 2 (#162393)
Correct the variable names
1 parent 2353088 commit 9715cca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler-rt/lib/builtins/cpu_model/aarch64/fmv/android.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ void CONSTRUCTOR_ATTRIBUTE __init_cpu_features(void) {
2727

2828
unsigned long hwcap = getauxval(AT_HWCAP);
2929
unsigned long hwcap2 = getauxval(AT_HWCAP2);
30-
unsigned long hwcap2 = getauxval(AT_HWCAP3);
31-
unsigned long hwcap2 = getauxval(AT_HWCAP4);
30+
unsigned long hwcap3 = getauxval(AT_HWCAP3);
31+
unsigned long hwcap4 = getauxval(AT_HWCAP4);
3232

3333
__ifunc_arg_t arg;
3434
arg._size = sizeof(__ifunc_arg_t);

compiler-rt/lib/builtins/cpu_model/aarch64/fmv/getauxval.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ void CONSTRUCTOR_ATTRIBUTE __init_cpu_features(void) {
1212

1313
unsigned long hwcap = getauxval(AT_HWCAP);
1414
unsigned long hwcap2 = getauxval(AT_HWCAP2);
15-
unsigned long hwcap2 = getauxval(AT_HWCAP3);
16-
unsigned long hwcap2 = getauxval(AT_HWCAP4);
15+
unsigned long hwcap3 = getauxval(AT_HWCAP3);
16+
unsigned long hwcap4 = getauxval(AT_HWCAP4);
1717

1818
__ifunc_arg_t arg;
1919
arg._size = sizeof(__ifunc_arg_t);

0 commit comments

Comments
 (0)