aboutsummaryrefslogtreecommitdiff
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lib/error-inject.c b/arch/x86/lib/error-inject.c
index 7b881d03d0dd..3cdf06128d13 100644
--- a/arch/x86/lib/error-inject.c
+++ b/arch/x86/lib/error-inject.c
@@ -7,6 +7,7 @@ asmlinkage void just_return_func(void);
asm(
".type just_return_func, @function\n"
+ ".globl just_return_func\n"
"just_return_func:\n"
" ret\n"
".size just_return_func, .-just_return_func\n"