|
@@ -165,16 +165,15 @@ static void pci_acpi_generic_release_info(struct acpi_pci_root_info *ci)
|
|
|
/* Interface called from ACPI code to setup PCI host controller */
|
|
|
struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root)
|
|
|
{
|
|
|
- int node = acpi_get_node(root->device->handle);
|
|
|
struct acpi_pci_generic_root_info *ri;
|
|
|
struct pci_bus *bus, *child;
|
|
|
struct acpi_pci_root_ops *root_ops;
|
|
|
|
|
|
- ri = kzalloc_node(sizeof(*ri), GFP_KERNEL, node);
|
|
|
+ ri = kzalloc(sizeof(*ri), GFP_KERNEL);
|
|
|
if (!ri)
|
|
|
return NULL;
|
|
|
|
|
|
- root_ops = kzalloc_node(sizeof(*root_ops), GFP_KERNEL, node);
|
|
|
+ root_ops = kzalloc(sizeof(*root_ops), GFP_KERNEL);
|
|
|
if (!root_ops) {
|
|
|
kfree(ri);
|
|
|
return NULL;
|