summaryrefslogtreecommitdiff
path: root/arch/x86/lib/error-inject.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/error-inject.c')
-rw-r--r--arch/x86/lib/error-inject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/lib/error-inject.c b/arch/x86/lib/error-inject.c
index 1e3de0769b81..512a2538596f 100644
--- a/arch/x86/lib/error-inject.c
+++ b/arch/x86/lib/error-inject.c
@@ -11,8 +11,9 @@ asm(
".text\n"
".type just_return_func, @function\n"
".globl just_return_func\n"
+ ASM_FUNC_ALIGN
"just_return_func:\n"
- ANNOTATE_NOENDBR
+ ANNOTATE_NOENDBR "\n"
ASM_RET
".size just_return_func, .-just_return_func\n"
);