mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
Add the 'in_atomic' mode which can be called from an atomic context. This mode relies on the existing 'raw' mode (no lock, no preemption/irq disabling) with the difference that the timeout is not based on jiffies (jiffies won't increase when irq are disabled) but handled with busy-waiting udelay() calls. Signed-off-by: Fabien Dessenne <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>