kpatch: make kpatch load & unload work on more distros with less code