Skip to content

Commit f82da16

Browse files
sfrothwelltorvalds
authored andcommitted
powerpc: restore removed #endif
Fixes: 7001052 ("Merge tag 'x86_core_for_5.18_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Brown-paper-bag-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 29cbaa3 commit f82da16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/include/asm/livepatch.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ static inline void klp_arch_set_pc(struct ftrace_regs *fregs, unsigned long ip)
1616
{
1717
ftrace_instruction_pointer_set(fregs, ip);
1818
}
19+
#endif /* CONFIG_LIVEPATCH */
1920

2021
#ifdef CONFIG_LIVEPATCH_64
2122
static inline void klp_init_thread_info(struct task_struct *p)

0 commit comments

Comments
 (0)