Question about interrupts

Interrupt gates are set in linux as

set_intr_gate(i, interrupt[i-FIRST_EXTERNAL_VECTOR]);
^
but the 'interrupt' is declared as

extern void (*__initconst interrupt[NR_VECTORS-FIRST_EXTERNAL_VECTOR])(void);

can anyone possibly tell when are these enteries filled with valid pointers ???

--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
manish honap [ Mo, 01 August 2011 14:18 ] [ ID #2062845 ]
Linux » gmane.linux.newbie » Question about interrupts

Vorheriges Thema: hi guys, is anybody know why del_timer_sync could not be used in interrupt context ?
Nächstes Thema: Question on syslogd and syslog