summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorQiujun Huang <hqjagain@gmail.com>2020-12-03 22:50:20 +0800
committerBorislav Petkov <bp@suse.de>2020-12-07 12:44:22 +0100
commit72ebb5ff806f9a421a2a53cdfe6c4ebbab243bd5 (patch)
treef8d9275f756a2612c004121237bd7d69a159489d /arch/x86
parent638920a66a17c8e1f4415cbab0d49dc4a344c2a7 (diff)
downloadlinux-72ebb5ff806f9a421a2a53cdfe6c4ebbab243bd5.tar.bz2
x86/alternative: Update text_poke_bp() kernel-doc comment
Update kernel-doc parameter name after c3d6324f841b ("x86/alternatives: Teach text_poke_bp() to emulate instructions") changed the last parameter from @handler to @emulate. [ bp: Make commit message more precise. ] Signed-off-by: Qiujun Huang <hqjagain@gmail.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20201203145020.2441-1-hqjagain@gmail.com
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/alternative.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index 4adbe65afe23..ed3efc5af783 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1365,7 +1365,7 @@ void __ref text_poke_queue(void *addr, const void *opcode, size_t len, const voi
* @addr: address to patch
* @opcode: opcode of new instruction
* @len: length to copy
- * @handler: address to jump to when the temporary breakpoint is hit
+ * @emulate: instruction to be emulated
*
* Update a single instruction with the vector in the stack, avoiding
* dynamically allocated memory. This function should be used when it is