diff options
author | Michael Kelley <mikelley@microsoft.com> | 2021-03-02 22:38:16 +0100 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-03-08 18:32:59 +0100 |
commit | b548a7742791e7818bc2780b2354b9714fd8f8d9 (patch) | |
tree | 6ff98b3df7d860d83f98e6155748bbfd915eed3b /include/asm-generic/mshyperv.h | |
parent | Drivers: hv: Redo Hyper-V synthetic MSR get/set functions (diff) | |
download | linux-b548a7742791e7818bc2780b2354b9714fd8f8d9.tar.xz linux-b548a7742791e7818bc2780b2354b9714fd8f8d9.zip |
Drivers: hv: vmbus: Move hyperv_report_panic_msg to arch neutral code
With the new Hyper-V MSR set function, hyperv_report_panic_msg() can be
architecture neutral, so move it out from under arch/x86 and merge into
hv_kmsg_dump(). This move also avoids needing a separate implementation
under arch/arm64.
No functional change.
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/r/1614721102-2241-5-git-send-email-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'include/asm-generic/mshyperv.h')
-rw-r--r-- | include/asm-generic/mshyperv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-generic/mshyperv.h b/include/asm-generic/mshyperv.h index 163d8b0af533..70b798d069d9 100644 --- a/include/asm-generic/mshyperv.h +++ b/include/asm-generic/mshyperv.h @@ -173,7 +173,6 @@ static inline int cpumask_to_vpset(struct hv_vpset *vpset, } void hyperv_report_panic(struct pt_regs *regs, long err, bool in_die); -void hyperv_report_panic_msg(phys_addr_t pa, size_t size); bool hv_is_hyperv_initialized(void); bool hv_is_hibernation_supported(void); enum hv_isolation_type hv_get_isolation_type(void); |