cyring / CoreFreq

CoreFreq : CPU monitoring and tuning software designed for 64-bit processors.
https://www.cyring.fr
GNU General Public License v2.0
2k stars 126 forks source link

fix for 5.7 cpu up/down api change #182

Closed paulyc closed 4 years ago

paulyc commented 4 years ago

Unsure how long the add/remove_cpu APIs have actually been around but in the interest of just getting it working here is at least a fix that should not regress. (in an ideal world there are no regressions of course so ok) but please do review and fix whatever looks best I just noticed its still an issue in master a few weeks later

cyring commented 4 years ago

Bravo, it works perfectly.

Using kernel 5.7.0-rc3 I have made some CPU offline/online tests, including with the BSP (cpu0_hotplug), no errors encountered

Thank you.