android_kernel_xiaomi_sm8350/drivers/hwspinlock
Fabien Dessenne 360aa640a5 hwspinlock: add the 'in_atomic' API
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 <fabien.dessenne@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2019-06-29 21:08:14 -07:00
..
hwspinlock_core.c hwspinlock: add the 'in_atomic' API 2019-06-29 21:08:14 -07:00
hwspinlock_internal.h
Kconfig
Makefile
omap_hwspinlock.c
qcom_hwspinlock.c
sirf_hwspinlock.c
sprd_hwspinlock.c
stm32_hwspinlock.c hwspinlock: stm32: implement the relax() ops 2019-06-29 21:04:24 -07:00
u8500_hsem.c