if (dev->bus == &pci_bus_type) { cpumask_t mask; mask = pcibus_to_cpumask(to_pci_dev(dev)->bus); node = cpu_to_node(first_cpu(mask)); } else 
if (dev->bus == &pci_bus_type) node = pcibus_to_node(to_pci_dev(dev)->bus); else 
static void *dma_alloc_pages(struct device *dev, unsigned gfp, unsigned order){	struct page *page;	int node;	if (dev->bus == &pci_bus_type) {		cpumask_t mask;		mask = pcibus_to_cpumask(to_pci_dev(dev)->bus);		node = cpu_to_node(first_cpu(mask));	} else		node = numa_node_id();	page = alloc_pages_node(node, gfp, order);	return page ? page_address(page) : NULL;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/117090b5e815d0075bff85c2be954d68a11ac4ed/pci-gart.c/clean/arch/x86_64/kernel/pci-gart.c