Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neoverse code cleanup for building with -DENABLE_WARNINGS=ON. #529

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/variorum/ARM/ARM_Neoverse_N1.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ int arm_neoverse_n1_cap_socket_frequency(int cpuid, int freq)
fprintf(stdout, "The specified CPU ID does not exist\n");
return -1;
}
ret = arm_cpu_neoverse_n1_cap_socket_frequency(cpuid, freq);
ret = arm_cpu_neoverse_n1_cap_socket_frequency(freq);

return ret;
}
Expand Down
2 changes: 1 addition & 1 deletion src/variorum/ARM/neoverse_N1_power_features.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ int arm_cpu_neoverse_n1_get_clocks_data(int chipid, int verbose, FILE *output)
return 0;
}

int arm_cpu_neoverse_n1_cap_socket_frequency(int socketid, int new_freq)
int arm_cpu_neoverse_n1_cap_socket_frequency(int new_freq)
{
uint64_t core_iter;
char freq_fname[4096];
Expand Down
1 change: 0 additions & 1 deletion src/variorum/ARM/neoverse_N1_power_features.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ int arm_cpu_neoverse_n1_get_clocks_data(
);

int arm_cpu_neoverse_n1_cap_socket_frequency(
int socketid,
int new_freq
);

Expand Down
Loading