2 years ago
#23044
Ravi A
Assigning architecture specific interrupt handler
The "handle_arch_irq" function pointer is assigned in 2 places with interrupt handler.
void setup_arch()
{
handle_arch_irq = mdesc->handle_irq;
}
int set_handle_irq()
{
handle_arch_irq = handle_irq;
}
The set_handle_irq()
is called from irq-gic.c
.
Can you help to understand why we are initializing at two places.
linux-kernel
interrupt-handling
0 Answers
Your Answer