The function changed at some point, but the description was not
updated.

Signed-off-by: Qiujun Huang <[email protected]>
---
 arch/x86/kernel/alternative.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c
index 2400ad62f330..8d778e46725d 100644
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -1374,7 +1374,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
-- 
2.17.1

Reply via email to