]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
objtool: Unify STACK_FRAME_NON_STANDARD entry sizes
authorJosh Poimboeuf <jpoimboe@kernel.org>
Wed, 17 Sep 2025 16:03:56 +0000 (09:03 -0700)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:50:17 +0000 (14:50 -0700)
commitf6b740ef5f4724f95363ac0d664e88d221343fa1
treef4204f60957b09a5068ff534e6157863ed6bb93c
parentaca282ab7e75dd3c1d14230146357a03bef12194
objtool: Unify STACK_FRAME_NON_STANDARD entry sizes

The C implementation of STACK_FRAME_NON_STANDARD emits 8-byte entries,
whereas the asm version's entries are only 4 bytes.

Make them consistent by converting the asm version to 8-byte entries.

This is much easier than converting the C version to 4-bytes, which
would require awkwardly putting inline asm in a dummy function in order
to pass the 'func' pointer to the asm.

Acked-by: Petr Mladek <pmladek@suse.com>
Tested-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
include/linux/objtool.h