summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2017-02-09 16:08:01 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-02-09 16:08:01 +1100
commit4630498a606609b48ce50cd536ef1574248b8c0b (patch)
treec8fc34ecb7f8e9ebcb5fe639f979c8b96e78af3b /arch/powerpc
parent4d272ca2703f6361ccf061361bd6b3486537c608 (diff)
parent372e2db7210df7c45ead46429aeb1443ba148060 (diff)
Merge remote-tracking branch 'livepatching/for-next'
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/livepatch.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/include/asm/livepatch.h b/arch/powerpc/include/asm/livepatch.h
index a402f7f94896..47a03b9b528b 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;