Skip to content

Commit

Permalink
CPU (Linux): query SOC name in cpuinfo for aarch64
Browse files Browse the repository at this point in the history
Fix #1510
  • Loading branch information
CarterLi committed Jan 14, 2025
1 parent c005bc5 commit 8ceda02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/detection/cpu/cpu_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ static const char* parseCpuInfo(
{
//Stop after reasonable information is acquired
if((*line == '\0' || *line == '\n')
#if __arm__ || __loongarch__
#if __arm__ || __aarch64__ || __loongarch__
&& cpu->name.length > 0 // #1202 #1204
#endif
)
Expand Down

0 comments on commit 8ceda02

Please sign in to comment.