arch/mips/kernel/irq.c

Source file repositories/reference/linux-study-clean/arch/mips/kernel/irq.c

File Facts

System
Linux kernel
Corpus path
arch/mips/kernel/irq.c
Extension
.c
Size
2672 bytes
Lines
120
Domain
Architecture Layer
Bucket
arch/mips
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

static inline void check_stack_overflow(void) {}
#endif


/*
 * do_IRQ handles all normal device IRQ's (the special
 * SMP cross-CPU interrupts have their own specific
 * handlers).
 */
asmlinkage void __irq_entry do_IRQ(unsigned int irq)
{
	irq_enter();
	check_stack_overflow();
	generic_handle_irq(irq);
	irq_exit();
}

#ifdef CONFIG_IRQ_DOMAIN
void __irq_entry do_domain_IRQ(struct irq_domain *domain, unsigned int hwirq)
{
	irq_enter();
	check_stack_overflow();
	generic_handle_domain_irq(domain, hwirq);
	irq_exit();
}
#endif

Annotation

Implementation Notes