if (vector < 0) panic("%s: out of interrupt vectors!\n", __FUNCTION__); 
static int iosapic_find_sharable_vector (unsigned long trigger, unsigned long pol){	int i, vector = -1, min_count = -1;	struct iosapic_intr_info *info;	/*	 * shared vectors for edge-triggered interrupts are not	 * supported yet	 */	if (trigger == IOSAPIC_EDGE)		return -1;	for (i = IA64_FIRST_DEVICE_VECTOR; i <= IA64_LAST_DEVICE_VECTOR; i++) {		info = &iosapic_intr_info[i];		if (info->trigger == trigger && info->polarity == pol &&		    (info->dmode == IOSAPIC_FIXED || info->dmode == IOSAPIC_LOWEST_PRIORITY)) {			if (min_count == -1 || info->count < min_count) {				vector = i;				min_count = info->count;			}		}	}	if (vector < 0)		panic("%s: out of interrupt vectors!\n", __FUNCTION__);	return vector;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3b5cc09033f49d004006acf44e5b05036bd46a85/iosapic.c/clean/arch/ia64/kernel/iosapic.c