Skip to content

Commit

Permalink
fixup! fixup! [builtins] Refactor cpu_model support to reduce #if nes…
Browse files Browse the repository at this point in the history
…ting. NFCI
  • Loading branch information
jroelofs committed Dec 19, 2023
1 parent 8190e09 commit c88e74c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler-rt/lib/builtins/cpu_model/aarch64/fmv/android.inc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ void CONSTRUCTOR_ATTRIBUTE __init_cpu_features(void) {
if (__isExynos9810())
return;

unsgined long hwcap = getauxval(AT_HWCAP);
unsigned long hwcap = getauxval(AT_HWCAP);
unsigned long hwcap2 = getauxval(AT_HWCAP2);

__ifunc_arg_t arg;
Expand Down
2 changes: 1 addition & 1 deletion compiler-rt/lib/builtins/cpu_model/aarch64/fmv/fuchsia.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ void CONSTRUCTOR_ATTRIBUTE __init_cpu_features(void) {
if (__aarch64_cpu_features.features)
return;

unsgined long hwcap = getauxval(AT_HWCAP);
unsigned long hwcap = getauxval(AT_HWCAP);
unsigned long hwcap2 = getauxval(AT_HWCAP2);

__ifunc_arg_t arg;
Expand Down
2 changes: 1 addition & 1 deletion compiler-rt/lib/builtins/cpu_model/aarch64/fmv/sysauxv.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ void CONSTRUCTOR_ATTRIBUTE __init_cpu_features(void) {
if (__aarch64_cpu_features.features)
return;

unsgined long hwcap = getauxval(AT_HWCAP);
unsigned long hwcap = getauxval(AT_HWCAP);
unsigned long hwcap2 = getauxval(AT_HWCAP2);

__ifunc_arg_t arg;
Expand Down

0 comments on commit c88e74c

Please sign in to comment.