Commit f82da161 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

powerpc: restore removed #endif

Fixes: 70010521 ("Merge tag 'x86_core_for_5.18_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip")
Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Brown-paper-bag-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 29cbaa3e
...@@ -16,6 +16,7 @@ static inline void klp_arch_set_pc(struct ftrace_regs *fregs, unsigned long ip) ...@@ -16,6 +16,7 @@ static inline void klp_arch_set_pc(struct ftrace_regs *fregs, unsigned long ip)
{ {
ftrace_instruction_pointer_set(fregs, ip); ftrace_instruction_pointer_set(fregs, ip);
} }
#endif /* CONFIG_LIVEPATCH */
#ifdef CONFIG_LIVEPATCH_64 #ifdef CONFIG_LIVEPATCH_64
static inline void klp_init_thread_info(struct task_struct *p) static inline void klp_init_thread_info(struct task_struct *p)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment