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 >>> |
cpu_to_be32()/be32_to_cpu()/cpu_to_le32()/le32_to_cpu() include/asm/byteorder.h | Up | local_bh_disable()/local_bh_enable() include/asm/softirq.h |