]> err.no Git - linux-2.6/commit
[POWERPC] Fix idr locking in init_new_context
authorSonny Rao <sonny@burdell.org>
Tue, 27 Jun 2006 12:46:09 +0000 (08:46 -0400)
committerPaul Mackerras <paulus@samba.org>
Thu, 29 Jun 2006 06:22:46 +0000 (16:22 +1000)
commitf86c9747fe1cd72b2c5c6bdf72d17aeb2a3c6cb0
treec32ef71ff0e535a467e428d3d874b65232f76708
parent975b365895b638a62da55f9fb180b0a71d05874d
[POWERPC] Fix idr locking in init_new_context

We always need to serialize accesses to mmu_context_idr.

I hit this bug when testing with a small number of mmu contexts.

Signed-off-by: Sonny Rao <sonny@burdell.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/mmu_context_64.c