diff options
author | Long Li <[email protected]> | 2023-04-20 15:49:06 -0700 |
---|---|---|
committer | Wei Liu <[email protected]> | 2023-04-20 23:00:37 +0000 |
commit | 9c318a1d9b5000c77527011f158a75c5483510f5 (patch) | |
tree | 705d70234bb6d01703088275df461b0c742de133 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 3be1bc2fe9d2e4fc1375efa2567d2f58cd2a2a7c (diff) |
Drivers: hv: move panic report code from vmbus to hv early init code
The panic reporting code was added in commit 81b18bce48af
("Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic")
It was added to the vmbus driver. The panic reporting has no dependence
on vmbus, and can be enabled at an earlier boot time when Hyper-V is
initialized.
This patch moves the panic reporting code out of vmbus. There is no
functionality changes. During moving, also refactored some cleanup
functions into hv_kmsg_dump_unregister().
Signed-off-by: Long Li <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions