diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-08-07 18:27:07 +0200 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-08-07 20:43:59 +0200 |
commit | 918a7a04e71745e99a0efc6753e587439b794b29 (patch) | |
tree | cd0b8fa3ddff5187550cad22f24ddb3ffece8015 /lib/crypto/mpi/mpi-mod.c | |
parent | e8972a76aa90c05a0078043413f806c02fcb3487 (diff) |
x86/decompressor: Use standard calling convention for trampoline
Update the trampoline code so its arguments are passed via RDI and RSI,
which matches the ordinary SysV calling convention for x86_64. This will
allow this code to be called directly from C.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Link: https://lore.kernel.org/r/20230807162720.545787-11-ardb@kernel.org
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions