mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Drivers: hv: vmbus: Get rid of MSR access from vmbus_drv.c
Get rid of ISA specific code from vmus_drv.c which is common code.
Fixes: 81b18bce48 ("Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic")
Signed-off-by: Sunil Muthuswamy <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
8afc06dd75
commit
9d9c965687
2 changed files with 4 additions and 1 deletions
|
|
@ -1146,7 +1146,7 @@ static int vmbus_bus_init(void)
|
|||
* Register for panic kmsg callback only if the right
|
||||
* capability is supported by the hypervisor.
|
||||
*/
|
||||
rdmsrl(HV_X64_MSR_CRASH_CTL, hyperv_crash_ctl);
|
||||
hv_get_crash_ctl(hyperv_crash_ctl);
|
||||
if (hyperv_crash_ctl & HV_CRASH_CTL_CRASH_NOTIFY_MSG) {
|
||||
hv_panic_page = (void *)get_zeroed_page(GFP_KERNEL);
|
||||
if (hv_panic_page) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue