return;
 
        size = sizeof(*info->res) * info->res_num;
-       info->res = kzalloc(size, GFP_KERNEL);
+       info->res = kzalloc_node(size, GFP_KERNEL, info->sd.node);
        if (!info->res) {
                info->res_num = 0;
                return;
 
        size = sizeof(*info->res_offset) * info->res_num;
        info->res_num = 0;
-       info->res_offset = kzalloc(size, GFP_KERNEL);
+       info->res_offset = kzalloc_node(size, GFP_KERNEL, info->sd.node);
        if (!info->res_offset) {
                kfree(info->res);
                info->res = NULL;
        if (node != NUMA_NO_NODE && !node_online(node))
                node = NUMA_NO_NODE;
 
-       info = kzalloc(sizeof(*info), GFP_KERNEL);
+       info = kzalloc_node(sizeof(*info), GFP_KERNEL, node);
        if (!info) {
                printk(KERN_WARNING "pci_bus %04x:%02x: "
                       "ignored (out of memory)\n", domain, busnum);