OSDN Git Service

[PATCH] mm: cris v32 mmu_context_lock
authorHugh Dickins <hugh@veritas.com>
Sun, 30 Oct 2005 01:16:37 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:42 +0000 (21:40 -0700)
commita7e4705b24e611574e5c23105005ffdff694fd58
tree891228898aaa599e4f9f0f56e9f7cc6659b1cde7
parent92dc6fcc845d99e87d8168e0786796525832d130
[PATCH] mm: cris v32 mmu_context_lock

The cris v32 switch_mm guards get_mmu_context with next->page_table_lock: good
it's not really SMP yet, since get_mmu_context messes with global variables
affecting other mms.  Replace by global mmu_context_lock.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/cris/arch-v32/mm/tlb.c