forked from rarias/bscpkgs
Fix hrtimer new interface
The hrtimer_init() is now done via hrtimer_setup() with the callback function as argument. See: https://lwn.net/Articles/996598/ Reviewed-by: Aleix Boné <abonerib@bsc.es>
This commit is contained in:
@@ -19,7 +19,7 @@ in stdenv.mkDerivation {
|
||||
'';
|
||||
hardeningDisable = [ "pic" "format" ];
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
patches = [ ./makefile.patch ];
|
||||
patches = [ ./makefile.patch ./hrtimer.patch ];
|
||||
makeFlags = [
|
||||
"KERNEL_VERSION=${kernel.modDirVersion}"
|
||||
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
|
||||
|
||||
Reference in New Issue
Block a user