pda->cnodeid_to_nasid_table[cnode] = pxm_to_nasid(nid_to_pxm_map[cnode]); 
sn_cnodeid_to_nasid[cnode] = pxm_to_nasid(nid_to_pxm_map[cnode]); 
static void __init sn_init_pdas(char **cmdline_p){	cnodeid_t cnode;	memset(pda->cnodeid_to_nasid_table, -1,	       sizeof(pda->cnodeid_to_nasid_table));	for_each_online_node(cnode)		pda->cnodeid_to_nasid_table[cnode] =		    pxm_to_nasid(nid_to_pxm_map[cnode]);	numionodes = num_online_nodes();	scan_for_ionodes();	/*	 * Allocate & initalize the nodepda for each node.	 */	for_each_online_node(cnode) {		nodepdaindr[cnode] =		    alloc_bootmem_node(NODE_DATA(cnode), sizeof(nodepda_t));		memset(nodepdaindr[cnode], 0, sizeof(nodepda_t));		memset(nodepdaindr[cnode]->phys_cpuid, -1, 		    sizeof(nodepdaindr[cnode]->phys_cpuid));	}	/*	 * Allocate & initialize nodepda for TIOs.  For now, put them on node 0.	 */	for (cnode = num_online_nodes(); cnode < numionodes; cnode++) {		nodepdaindr[cnode] =		    alloc_bootmem_node(NODE_DATA(0), sizeof(nodepda_t));		memset(nodepdaindr[cnode], 0, sizeof(nodepda_t));	}	/*	 * Now copy the array of nodepda pointers to each nodepda.	 */	for (cnode = 0; cnode < numionodes; cnode++)		memcpy(nodepdaindr[cnode]->pernode_pdaindr, nodepdaindr,		       sizeof(nodepdaindr));	/*	 * Set up IO related platform-dependent nodepda fields.	 * The following routine actually sets up the hubinfo struct	 * in nodepda.	 */	for_each_online_node(cnode) {		bte_init_node(nodepdaindr[cnode], cnode);	}	/*	 * Initialize the per node hubdev.  This includes IO Nodes and 	 * headless/memless nodes.	 */	for (cnode = 0; cnode < numionodes; cnode++) {		hubdev_init_node(nodepdaindr[cnode], cnode);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2e34f07ff0c944399a6456e2d91cf0ca1d9a497c/setup.c/clean/arch/ia64/sn/kernel/setup.c