blob: 9c7d105b894bb314d4048dff38f0565ebf4497f0 (
plain)
1
2
3
4
5
6
7
8
|
#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
|