mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
x86/alternatives: Get rid of __optimize_nops()
There's no need to carve out bits of the NOP optimization functionality and look at JMP opcodes - simply do one more NOPs optimization pass at the end of patching. A lot simpler code. Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240130105941.19707-3-bp@alien8.de
This commit is contained in:
parent
f796c75837
commit
da8f9cf7e7
1 changed files with 16 additions and 43 deletions
Loading…
Add table
Add a link
Reference in a new issue