summaryrefslogtreecommitdiff
path: root/include/linux/objtool.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-20 09:32:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-20 09:32:47 +0200
commitdf36f3e3fbb76d30d623a1623e31e3ce9c2fa750 (patch)
treef8f517a9812b2e94e89c2c0297ea0b235f312d12 /include/linux/objtool.h
parent65534736d9a5cab5340ae8819e1394b6325e8390 (diff)
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e (diff)
Merge tag 'v5.19-rc3' into tty-next
We need the tty/serial fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/objtool.h')
-rw-r--r--include/linux/objtool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/objtool.h b/include/linux/objtool.h
index 6491fa8fba6d..15b940ec1eac 100644
--- a/include/linux/objtool.h
+++ b/include/linux/objtool.h
@@ -143,6 +143,12 @@ struct unwind_hint {
.popsection
.endm
+.macro STACK_FRAME_NON_STANDARD_FP func:req
+#ifdef CONFIG_FRAME_POINTER
+ STACK_FRAME_NON_STANDARD \func
+#endif
+.endm
+
.macro ANNOTATE_NOENDBR
.Lhere_\@:
.pushsection .discard.noendbr