This repository has been archived by the owner on Feb 26, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux 4.11 compat: remove stub for __put_task_struct
In some kernel older than 2.6.35, something in spl or zfs needed to link against __put_task_struct() even though it should never be called by zfs. Which kernel that was, and what code needed to link against __put_task_struct(), is unknown to me. This is no longer the case. spl/zfs build and the modules install successfully on a RHEL6 derivative with kernel 2.6.32-642.13.1.1chaos.ch5.5.x86_64 without the stub, as well as 4.8.0-22-generic under Ubuntu and 4.11 kernel built from github/torvalds/linux. This came up with the linux 4.11 kernel because the prototype for __put_task_struct() is in a new include file and so the config check failed to detect the exported symbol. Removing the unnecessary stub and corresponding config check. Signed-off-by: Olaf Faaland <[email protected]>
- Loading branch information