diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-09-15 14:10:49 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-10-17 17:40:59 +0300 |
commit | 1934dc9a8a92fda36ab80cfd55edab1708dcdf9a (patch) | |
tree | a0c7d32a2ce7e1a7eaceabae7b8691492822f3ea /arch/x86/lib | |
parent | 8eb5d34e77c63fde8af21c691bcf6e3cd87f7829 (diff) | |
download | linux-1934dc9a8a92fda36ab80cfd55edab1708dcdf9a.tar.xz |
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) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111143.930201368@infradead.org
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/error-inject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lib/error-inject.c b/arch/x86/lib/error-inject.c index 1e3de0769b81..b5a6d83106bc 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 |