diff options
| author | Ard Biesheuvel <[email protected]> | 2023-08-07 18:26:59 +0200 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2023-08-07 19:20:32 +0200 |
| commit | 2f69a81ad6873231a2ae78d5ade3263ec54a4c9c (patch) | |
| tree | 9d4e19ac99c62eb614a41a618caad7b81aaf5224 /lib/crypto/mpi/mpi-cmp.c | |
| parent | 264b82fdb4989cf6a44a2bcd0c6ea05e8026b2ac (diff) | |
x86/head_64: Store boot_params pointer in callee save register
Instead of pushing/popping %RSI to/from the stack every time a function
is called from startup_64(), store it in a callee preserved register
and grab it from there when its value is actually needed.
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions