From: Peter Zijlstra Date: Thu, 15 Sep 2022 11:10:49 +0000 (+0200) Subject: x86/error_inject: Align function properly X-Git-Tag: v6.6.17~5918^2~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1934dc9a8a92fda36ab80cfd55edab1708dcdf9a;p=platform%2Fkernel%2Flinux-rpi.git x86/error_inject: Align function properly Ensure inline asm functions are consistently aligned with compiler generated and SYM_FUNC_START*() functions. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20220915111143.930201368@infradead.org --- diff --git a/arch/x86/lib/error-inject.c b/arch/x86/lib/error-inject.c index 1e3de07..b5a6d83 100644 --- a/arch/x86/lib/error-inject.c +++ b/arch/x86/lib/error-inject.c @@ -11,6 +11,7 @@ asm( ".text\n" ".type just_return_func, @function\n" ".globl just_return_func\n" + ASM_FUNC_ALIGN "just_return_func:\n" ANNOTATE_NOENDBR ASM_RET