Mikael Starvik | 8d20a54 | 2005-07-27 11:44:42 -0700 | [diff] [blame] | 1 | #ifndef __ASM_CRIS_ARCH_ATOMIC__ |
2 | #define __ASM_CRIS_ARCH_ATOMIC__ | ||||
3 | |||||
4 | #define cris_atomic_save(addr, flags) local_irq_save(flags); | ||||
5 | #define cris_atomic_restore(addr, flags) local_irq_restore(flags); | ||||
6 | |||||
7 | #endif |