mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
8d20a541b0
Patches to support SMP. * Each CPU has its own current_pgd. * flush_tlb_range is implemented as flush_tlb_mm. * Atomic operations implemented with spinlocks. * Semaphores implemented with spinlocks. Signed-off-by: Mikael Starvik <starvik@axis.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
7 lines
203 B
C
7 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
|