Project

General

Profile

Revision 4534af0a birq.c

View differences:

birq.c
228 228
		show_statistics(cpus, opts->verbose);
229 229
		/* Choose IRQ to move to another CPU. */
230 230
		choose_irqs_to_move(cpus, balance_irqs,
231
			opts->threshold, opts->strategy);
231
			opts->threshold, opts->strategy, &opts->exclude_cpus);
232 232

  
233 233
		/* Balance IRQs */
234 234
		if (lub_list_len(balance_irqs) != 0) {
......
539 539
/* Parse config file */
540 540
static int parse_config(const char *fname, struct options *opts)
541 541
{
542
	int ret = -1; /* Pessimistic retval */
542 543
	lub_ini_t *ini;
543 544
	const char *tmp = NULL;
544 545

  
......
574 575
			goto err;
575 576
		}
576 577

  
577
	return 0;
578
	ret = 0;
578 579
err:
579 580
	lub_ini_free(ini);
580
	return -1;
581
	return ret;
581 582
}

Also available in: Unified diff