There is an alternative mitigation you can use which blacklists the function calls when the affected code is not built as a kernel module.