diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-11-22 17:10:09 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-11-24 08:57:41 +0100 |
commit | 6aac80a8da46d70f2ae7ff97c9f45a15c7c9b3ef (patch) | |
tree | 51f732d9fbf3408585c126dc3a8deabd69646f0a /kernel/bpf/arraymap.c | |
parent | 630f337f0c4fd80390e8600adcab31550aea33df (diff) |
x86/boot/compressed: Avoid touching ECX in startup32_set_idt_entry()
Avoid touching register %ecx in startup32_set_idt_entry(), by folding
the MOV, SHL and ORL instructions into a single ORL which no longer
requires a temp register.
This permits ECX to be used as a function argument in a subsequent
patch.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20221122161017.2426828-10-ardb@kernel.org
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions