diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-19 00:34:15 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-19 00:34:15 (GMT) |
commit | 705d43dbe10d6e213a75187ac92b61f9bd00af0b (patch) | |
tree | af1d62843c7140eb6751f6fd75df5425820f6e8f /arch/x86 | |
parent | dd8fc10e606127e2dffdb6704e7ec203c86a214d (diff) | |
parent | 7dcd182bec271ab341b05b66b6006995795fc0e7 (diff) | |
download | linux-705d43dbe10d6e213a75187ac92b61f9bd00af0b.tar.xz |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching
Pull livepatching fixes from Jiri Kosina:
- regression (from 4.4) fix for ordering issue, introduced by an
earlier ftrace change, that broke live patching of modules.
The fix replaces the ftrace module notifier by direct call in order
to make the ordering guaranteed and well-defined. The patch, from
Jessica Yu, has been acked both by Steven and Rusty
- error message fix from Miroslav Benes
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/livepatching:
ftrace/module: remove ftrace module notifier
livepatch: change the error message in asm/livepatch.h header files
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/livepatch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/livepatch.h b/arch/x86/include/asm/livepatch.h index 19c099a..e795f52 100644 --- a/arch/x86/include/asm/livepatch.h +++ b/arch/x86/include/asm/livepatch.h @@ -41,7 +41,7 @@ static inline void klp_arch_set_pc(struct pt_regs *regs, unsigned long ip) regs->ip = ip; } #else -#error Live patching support is disabled; check CONFIG_LIVEPATCH +#error Include linux/livepatch.h, not asm/livepatch.h #endif #endif /* _ASM_X86_LIVEPATCH_H */ |