amd_hsmp
amd_hsmp copied to clipboard
AMD HSMP module to provide user interface to system management features.
We have two system using the same CentOS 7 with old kernel (3.10.0-1160.80.1.el7.x86_64). One of the systems works perfectly with the master version of the amd_hsmp, however the other one...
``` # make make -C /lib/modules/`uname -r`/build M=$PWD modules make[1]: Entering directory '/usr/src/kernels/4.18.0-240.el8.x86_64' CC [M] /root/downloads/amd_hsmp-master/amd_hsmp.o /root/downloads/amd_hsmp-master/amd_hsmp.c: In function ‘hsmp_ioctl’: /root/downloads/amd_hsmp-master/amd_hsmp.c:280:6: error: implicit declaration of function ‘copy_struct_from_user’; did you mean...