diff options
| author | Uros Bizjak <[email protected]> | 2025-03-12 12:38:44 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-03-19 10:26:58 +0000 |
| commit | 194a613088a8c9dae300dfb08433287cee803e8d (patch) | |
| tree | f1fa848ace9e1d891c6140d0f73c0aef30d42d18 /net/unix/af_unix.c | |
| parent | x86/hweight: Use named operands in inline asm() (diff) | |
| download | kernel-194a613088a8c9dae300dfb08433287cee803e8d.tar.gz kernel-194a613088a8c9dae300dfb08433287cee803e8d.zip | |
x86/hweight: Use ASM_CALL_CONSTRAINT in inline asm()
Use ASM_CALL_CONSTRAINT to prevent inline asm() that includes call
instruction from being scheduled before the frame pointer gets set
up by the containing function. This unconstrained scheduling might
cause objtool to print a "call without frame pointer save/setup"
warning. Current versions of compilers don't seem to trigger this
condition, but without this constraint there's nothing to prevent
the compiler from scheduling the insn in front of frame creation.
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
