Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PREEMPTION=y and BLK_CGROUP=y config on arm64
With PREEMPTION=y and BLK_CGROUP=y preempt_schedule_notrace() is being used on arm64 which is a GPL-only function and hence the build of the DKMS kernel module fails. Fix that by redefining preempt_schedule_notrace() to preempt_schedule() which should be safe as long as tracing is not used. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Juerg Haefliger <[email protected]> Closes openzfs#8545 Closes openzfs#9948 Closes openzfs#10416 Closes openzfs#10973
- Loading branch information