OSDN Git Service

Drivers: hv: vmbus: Move hyperv_report_panic_msg to arch neutral code
authorMichael Kelley <mikelley@microsoft.com>
Tue, 2 Mar 2021 21:38:16 +0000 (13:38 -0800)
committerWei Liu <wei.liu@kernel.org>
Mon, 8 Mar 2021 17:32:59 +0000 (17:32 +0000)
commitb548a7742791e7818bc2780b2354b9714fd8f8d9
tree6ff98b3df7d860d83f98e6155748bbfd915eed3b
parentf3c5e63c3690fc64e5a7a2b3e4f9f5ff1fa25584
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>
arch/x86/hyperv/hv_init.c
drivers/hv/vmbus_drv.c
include/asm-generic/mshyperv.h