diff options
| author | David Woodhouse <dwmw@amazon.co.uk> | 2024-12-05 18:05:18 +0300 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2024-12-06 12:42:00 +0300 |
| commit | 93e489ad7a4694bb2fe8110f5012f85bd3eee65a (patch) | |
| tree | dcb0e5e5a2857b4d7c43596f9c80caf5603c3f21 /scripts/gdb/linux/utils.py | |
| parent | b7155dfd4999211247cce40be2665c71235ab094 (diff) | |
| download | linux-93e489ad7a4694bb2fe8110f5012f85bd3eee65a.tar.xz | |
x86/kexec: Clean up register usage in relocate_kernel()
The memory encryption flag is passed in %r8 because that's where the
calling convention puts it. Instead of moving it to %r12 and then using
%r8 for other things, just leave it in %r8 and use other registers
instead.
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Baoquan He <bhe@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lore.kernel.org/r/20241205153343.3275139-13-dwmw2@infradead.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions
