Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1543211

[PATCH] powerpc/livepatch: Remove klp_write_module_reloc() stub

From Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject [PATCH] powerpc/livepatch: Remove klp_write_module_reloc() stub
Date 2016-12-16 07:20 +0100
Message-ID <sOU26-8aq-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


commit 425595a7fc20 ("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: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
---
 arch/powerpc/include/asm/livepatch.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/arch/powerpc/include/asm/livepatch.h b/arch/powerpc/include/asm/livepatch.h
index a402f7f..47a03b9 100644
--- a/arch/powerpc/include/asm/livepatch.h
+++ b/arch/powerpc/include/asm/livepatch.h
@@ -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;
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] powerpc/livepatch: Remove klp_write_module_reloc() stub Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> - 2016-12-16 07:20 +0100
  Re: [PATCH] powerpc/livepatch: Remove klp_write_module_reloc() stub Balbir Singh <bsingharora@gmail.com> - 2016-12-16 10:30 +0100
  Re: [PATCH] powerpc/livepatch: Remove klp_write_module_reloc() stub Petr Mladek <pmladek@suse.com> - 2016-12-16 11:30 +0100
  Re: [PATCH] powerpc/livepatch: Remove klp_write_module_reloc() stub Josh Poimboeuf <jpoimboe@redhat.com> - 2016-12-16 16:20 +0100
  Re: [PATCH] powerpc/livepatch: Remove klp_write_module_reloc()  stub Jiri Kosina <jikos@kernel.org> - 2016-12-19 11:20 +0100

csiph-web