summaryrefslogtreecommitdiff
path: root/include/linux/frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/frame.h')
-rw-r--r--include/linux/frame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/frame.h b/include/linux/frame.h
index e6baaba3f1ae..d772c61c31da 100644
--- a/include/linux/frame.h
+++ b/include/linux/frame.h
@@ -11,7 +11,7 @@
* For more information, see tools/objtool/Documentation/stack-validation.txt.
*/
#define STACK_FRAME_NON_STANDARD(func) \
- static void __used __section(__func_stack_frame_non_standard) \
+ static void __used __section(.discard.func_stack_frame_non_standard) \
*__func_stack_frame_non_standard_##func = func
#else /* !CONFIG_STACK_VALIDATION */