diff options
| author | Uros Bizjak <ubizjak@gmail.com> | 2026-03-11 13:25:59 +0300 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2026-03-12 07:25:19 +0300 |
| commit | 2536091d585ac0b60ccf80cbe7a0bf4bfb75ec00 (patch) | |
| tree | b98f860d3bd0ea60523302fecc05e366af3ff9a3 /include/linux | |
| parent | 3484127c19aca9e93ef6631e7a47bc4f56212da9 (diff) | |
| download | linux-2536091d585ac0b60ccf80cbe7a0bf4bfb75ec00.tar.xz | |
x86/hyperv: Use current_stack_pointer to avoid asm() in hv_hvcrash_ctxt_save()
Use current_stack_pointer to avoid asm() when saving %rsp to the
crash context memory in hv_hvcrash_ctxt_save(). The new code is
more readable and results in exactly the same object file.
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Wei Liu <wei.liu@kernel.org>
Cc: Dexuan Cui <decui@microsoft.com>
Cc: Long Li <longli@microsoft.com>
Cc: Thomas Gleixner <tglx@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
