Example #1
0
/*
 *  ICU reinitialize when ICU configuration has lost.
 */
void
icu_reinit(void)
{
	int i;

	icu_init();
	for (i = 0; i < MAX_HARDINTS; ++i) {
		if (count_registered_ints(i))
			machintr_intren(i);
	}
}
Example #2
0
/*
 *  ICU reinitialize when ICU configuration has lost.
 */
void
icu_reinit(void)
{
#ifdef foo
	int i;

	icu_init();
	for (i = 0; i < MAX_HARDINTS; ++i) {
		if (count_registered_ints(i))
			machintr_intr_enable(i);
	}
#else
	icu_init();
#endif
}