static struct device_node * __devinit find_cpu_node(unsigned int cpu) 
static struct device_node *find_cpu_node(unsigned int cpu) 
static struct device_node * __devinit find_cpu_node(unsigned int cpu){	unsigned int hw_cpuid = get_hard_smp_processor_id(cpu);	struct device_node *cpu_node = NULL;	unsigned int *interrupt_server, *reg;	int len;	while ((cpu_node = of_find_node_by_type(cpu_node, "cpu")) != NULL) {		/* Try interrupt server first */		interrupt_server = (unsigned int *)get_property(cpu_node,					"ibm,ppc-interrupt-server#s", &len);		len = len / sizeof(u32);		if (interrupt_server && (len > 0)) {			while (len--) {				if (interrupt_server[len] == hw_cpuid)					return cpu_node;			}		} else {			reg = (unsigned int *)get_property(cpu_node,							   "reg", &len);			if (reg && (len > 0) && (reg[0] == hw_cpuid))				return cpu_node;		}	}	return NULL;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/45fb6cea09443b2066016f895937f9c2647a1507/numa.c/buggy/arch/powerpc/mm/numa.c