 /* Save the largest Domain and pcibus numbers found. */ if (hubdev->max_segment_number) { /* * Dealing with a Prom that supports segments. */ max_segment_number = hubdev->max_segment_number; max_pcibus_number = hubdev->max_pcibus_number; } 
static void sn_fixup_ionodes(void){	struct sn_flush_device_list *sn_flush_device_list;	struct hubdev_info *hubdev;	uint64_t status;	uint64_t nasid;	int i, widget;	for (i = 0; i < numionodes; i++) {		hubdev = (struct hubdev_info *)(NODEPDA(i)->pdinfo);		nasid = cnodeid_to_nasid(i);		status = sal_get_hubdev_info(nasid, (uint64_t) __pa(hubdev));		if (status)			continue;		/* Attach the error interrupt handlers */		if (nasid & 1)			ice_error_init(hubdev);		else			hub_error_init(hubdev);		for (widget = 0; widget <= HUB_WIDGET_ID_MAX; widget++)			hubdev->hdi_xwidget_info[widget].xwi_hubinfo = hubdev;		if (!hubdev->hdi_flush_nasid_list.widget_p)			continue;		hubdev->hdi_flush_nasid_list.widget_p =		    kmalloc((HUB_WIDGET_ID_MAX + 1) *			    sizeof(struct sn_flush_device_list *), GFP_KERNEL);		memset(hubdev->hdi_flush_nasid_list.widget_p, 0x0,		       (HUB_WIDGET_ID_MAX + 1) *		       sizeof(struct sn_flush_device_list *));		for (widget = 0; widget <= HUB_WIDGET_ID_MAX; widget++) {			sn_flush_device_list = kmalloc(DEV_PER_WIDGET *						       sizeof(struct							      sn_flush_device_list),						       GFP_KERNEL);			memset(sn_flush_device_list, 0x0,			       DEV_PER_WIDGET *			       sizeof(struct sn_flush_device_list));			status =			    sal_get_widget_dmaflush_list(nasid, widget,							 (uint64_t)							 __pa							 (sn_flush_device_list));			if (status) {				kfree(sn_flush_device_list);				continue;			}			hubdev->hdi_flush_nasid_list.widget_p[widget] =			    sn_flush_device_list;		}	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/674c6479b7bdc78528ea83dd43897e3161558b8b/io_init.c/buggy/arch/ia64/sn/kernel/io_init.c