Remove conflicting definitions in amd-uprof-driver

See: https://lkml.org/lkml/2025/4/9/1709
This commit is contained in:
2025-12-10 14:28:20 +01:00
parent 1d3bda33a0
commit ee9af71da0
2 changed files with 21 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ in stdenv.mkDerivation {
'';
hardeningDisable = [ "pic" "format" ];
nativeBuildInputs = kernel.moduleBuildDependencies;
patches = [ ./makefile.patch ./hrtimer.patch ];
patches = [ ./makefile.patch ./hrtimer.patch ./remove-wr-rdmsrq.patch ];
makeFlags = [
"KERNEL_VERSION=${kernel.modDirVersion}"
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"