mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
8 lines
203 B
C
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
|