Unreliable Guide To Hacking The Linux Kernel | ||
---|---|---|
<<< Previous | Common Routines | Next >>> |
These routines disable hard interrupts on the local CPU, and restore them. They are reentrant; saving the previous state in their one unsigned long flags argument. If you know that interrupts are enabled, you can simply use local_irq_disable() and local_irq_enable().
<<< Previous | Home | Next >>> |
udelay()/mdelay() include/asm/delay.h include/linux/delay.h | Up | local_bh_disable()/local_bh_enable() include/asm/softirq.h |