vmbus_drv.c (8a103df440afea30c91ebd42e61dc644e647f4bd) vmbus_drv.c (03b2a320b19f1424e9ac9c21696be9c60b6d0d93)
1/*
2 * Copyright (c) 2009, Microsoft Corporation.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT

--- 1520 unchanged lines hidden (view full) ---

1529 hv_synic_cleanup(smp_processor_id());
1530 hyperv_cleanup();
1531};
1532
1533static int __init hv_acpi_init(void)
1534{
1535 int ret, t;
1536
1/*
2 * Copyright (c) 2009, Microsoft Corporation.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT

--- 1520 unchanged lines hidden (view full) ---

1529 hv_synic_cleanup(smp_processor_id());
1530 hyperv_cleanup();
1531};
1532
1533static int __init hv_acpi_init(void)
1534{
1535 int ret, t;
1536
1537 if (x86_hyper != &x86_hyper_ms_hyperv)
1537 if (x86_hyper_type != X86_HYPER_MS_HYPERV)
1538 return -ENODEV;
1539
1540 init_completion(&probe_event);
1541
1542 /*
1543 * Get ACPI resources first.
1544 */
1545 ret = acpi_bus_register_driver(&vmbus_acpi_driver);

--- 60 unchanged lines hidden ---
1538 return -ENODEV;
1539
1540 init_completion(&probe_event);
1541
1542 /*
1543 * Get ACPI resources first.
1544 */
1545 ret = acpi_bus_register_driver(&vmbus_acpi_driver);

--- 60 unchanged lines hidden ---