`local_irq_save()`/`local_irq_restore()` `include/asm/system.h`
Prev | Chapter 6. Common Routines | Next

## `local_irq_save()`/`local_irq_restore()` `include/asm/system.h`

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()`.

Prev | Up | Next
`cpu_to_be32()`/`be32_to_cpu()`/`cpu_to_le32()`/`le32_to_cpu()` `include/asm/byteorder.h` | Home | `local_bh_disable()`/`local_bh_enable()` `include/linux/interrupt.h`