Skip to content
Snippets Groups Projects
Commit 76c3e4b7 authored by Robert Schmidt's avatar Robert Schmidt
Browse files

Remove x86-specific instructions from telnet server

telnetsrv uses the Intel/AMD-specific "cpuid" instruction, which is not
available on ARM machines. Remove the call.

The previous code was checking for the number of cores, which is
retained by a call to get_nprocs(). I did not find an equivalent for the
number of threads in C. In C++, there would be
https://en.cppreference.com/w/cpp/thread/thread/hardware_concurrency, in
case it's relevant for anybody.
parent 220d851d
No related branches found
No related tags found
2 merge requests!3097Integration: `2024.w45`,!3096Remove x86-specific instructions from telnet server
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment