OSDN Git Service

[PATCH] CRIS update: SMP
authorMikael Starvik <mikael.starvik@axis.com>
Wed, 27 Jul 2005 18:44:42 +0000 (11:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:26:01 +0000 (16:26 -0700)
commit8d20a541b089ecb67a88a673548161b686ed7b85
tree53bac804d538068c80684becb76cd76937956502
parent21783c9746619a782c21be606f6498bbd4d4615e
[PATCH] CRIS update: SMP

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>
arch/cris/arch-v10/mm/fault.c
arch/cris/arch-v10/mm/init.c
arch/cris/arch-v10/mm/tlb.c
include/asm-cris/arch-v10/atomic.h [new file with mode: 0644]
include/asm-cris/atomic.h
include/asm-cris/mmu_context.h
include/asm-cris/semaphore.h
include/asm-cris/smp.h
include/asm-cris/spinlock.h [new file with mode: 0644]
include/asm-cris/tlbflush.h