Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b766922e authored by Kamalesh Babulal's avatar Kamalesh Babulal Committed by Jiri Kosina
Browse files

powerpc/livepatch: Remove klp_write_module_reloc() stub



commit 425595a7 ("livepatch: reuse module loader code
to write relocations") offloads livepatch module relocation
write to arch specific module loader code.

Remove unused klp_write_module_reloc() function stub.

Signed-off-by: default avatarKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Acked-by: default avatarBalbir Singh <bsingharora@gmail.com>
Reviewed-by: default avatarPetr Mladek <pmladek@suse.com>
Acked-by: default avatarJosh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 6960d582
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -28,13 +28,6 @@ static inline int klp_check_compiler_support(void)
	return 0;
}

static inline int klp_write_module_reloc(struct module *mod, unsigned long
		type, unsigned long loc, unsigned long value)
{
	/* This requires infrastructure changes; we need the loadinfos. */
	return -ENOSYS;
}

static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip)
{
	regs->nip = ip;