projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
638920a
)
x86/alternative: Update text_poke_bp() kernel-doc comment
author
Qiujun Huang
<hqjagain@gmail.com>
Thu, 3 Dec 2020 14:50:20 +0000
(22:50 +0800)
committer
Borislav Petkov
<bp@suse.de>
Mon, 7 Dec 2020 11:44:22 +0000
(12:44 +0100)
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
arch/x86/kernel/alternative.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/alternative.c
b/arch/x86/kernel/alternative.c
index 4adbe65afe235f9a71f290e874486d4a1dbfa3cf..ed3efc5af7839cb22104abde26f023960424bb06 100644
(file)
--- 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