提交 1934dc9a 编写于 作者: P Peter Zijlstra

x86/error_inject: Align function properly

Ensure inline asm functions are consistently aligned with compiler
generated and SYM_FUNC_START*() functions.
Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111143.930201368@infradead.org
上级 8eb5d34e
...@@ -11,6 +11,7 @@ asm( ...@@ -11,6 +11,7 @@ asm(
".text\n" ".text\n"
".type just_return_func, @function\n" ".type just_return_func, @function\n"
".globl just_return_func\n" ".globl just_return_func\n"
ASM_FUNC_ALIGN
"just_return_func:\n" "just_return_func:\n"
ANNOTATE_NOENDBR ANNOTATE_NOENDBR
ASM_RET ASM_RET
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册