Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Devices
/
android_kernel_realme_mt6785
/
2134a922c6e75c779983cad5d8aae832275f5a0d
/
.
/
include
/
asm-cris
/
arch-v10
/
atomic.h
blob: 6ef5e7d09024f4512366e137e483728d99a4902c [
file
] [
log
] [
blame
]
#ifndef
__ASM_CRIS_ARCH_ATOMIC__
#define
__ASM_CRIS_ARCH_ATOMIC__
#define
cris_atomic_save
(
addr
,
flags
)
local_irq_save
(
flags
);
#define
cris_atomic_restore
(
addr
,
flags
)
local_irq_restore
(
flags
);
#endif