satip-axe/kernel/arch/cris/include/arch-v10/arch/atomic.h
2015-03-26 17:24:57 +01:00

8 lines
203 B
C

#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