/* This PDC function returns the number of entries in the specified cell's interrupt table. Similar to PDC_PAT stuff - but added for Forte/Allegro boxes  */
int pdc_pci_irt_size(unsigned long *num_entries, unsigned long hpa)
/* This PDC function returns the number of entries in the specified cell's interrupt table. Similar to PDC_PAT stuff - but added for Forte/Allegro boxes  */
int pdc_pci_irt_size(unsigned long *num_entries, unsigned long hpa)
{
	int retval;
	unsigned long flags;
	spin_lock_irqsave(&pdc_lock, flags);
	retval = mem_pdc_call(PDC_PCI_INDEX, PDC_PCI_GET_INT_TBL_SIZE, 
			      __pa(pdc_result), hpa);
	convert_to_wide(pdc_result);
	*num_entries = pdc_result[0];
	spin_unlock_irqrestore(&pdc_lock, flags);
	return retval;
}