kexec-mod needed functions definitions