mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 08:49:38 +07: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>
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
|