Skip to content

Commit

Permalink
WIP: Fixes for neoverse error, need to check with Aniruddha.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpatki committed Mar 11, 2024
1 parent 8e0bd38 commit 974613b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
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

0 comments on commit 974613b

Please sign in to comment.