|
@@ -871,7 +871,7 @@ static int vmbus_bus_init(int irq)
|
|
|
/*
|
|
|
* Only register if the crash MSRs are available
|
|
|
*/
|
|
|
- if (ms_hyperv.features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) {
|
|
|
+ if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) {
|
|
|
register_die_notifier(&hyperv_die_block);
|
|
|
atomic_notifier_chain_register(&panic_notifier_list,
|
|
|
&hyperv_panic_block);
|
|
@@ -1169,7 +1169,7 @@ static void __exit vmbus_exit(void)
|
|
|
hv_remove_vmbus_irq();
|
|
|
tasklet_kill(&msg_dpc);
|
|
|
vmbus_free_channels();
|
|
|
- if (ms_hyperv.features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) {
|
|
|
+ if (ms_hyperv.misc_features & HV_FEATURE_GUEST_CRASH_MSR_AVAILABLE) {
|
|
|
unregister_die_notifier(&hyperv_die_block);
|
|
|
atomic_notifier_chain_unregister(&panic_notifier_list,
|
|
|
&hyperv_panic_block);
|