|
@@ -523,7 +523,7 @@ static int acpi_pci_root_add(struct acpi_device *device,
|
|
struct acpi_pci_root *root;
|
|
struct acpi_pci_root *root;
|
|
acpi_handle handle = device->handle;
|
|
acpi_handle handle = device->handle;
|
|
int no_aspm = 0;
|
|
int no_aspm = 0;
|
|
- bool hotadd = system_state != SYSTEM_BOOTING;
|
|
|
|
|
|
+ bool hotadd = system_state == SYSTEM_RUNNING;
|
|
|
|
|
|
root = kzalloc(sizeof(struct acpi_pci_root), GFP_KERNEL);
|
|
root = kzalloc(sizeof(struct acpi_pci_root), GFP_KERNEL);
|
|
if (!root)
|
|
if (!root)
|