Exemple #1
0
static inline void rm9k_cpu_irq_enable(unsigned int irq)
{
    unsigned long flags;

    local_irq_save(flags);
    unmask_rm9k_irq(irq);
    local_irq_restore(flags);
}
static void rm9k_cpu_irq_end(unsigned int irq)
{
	if (!(irq_desc[irq].status & (IRQ_DISABLED | IRQ_INPROGRESS)))
		unmask_rm9k_irq(irq);
}