]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[POWERPC] Add spinlock to request_phb_iospace()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 15 May 2007 04:16:26 +0000 (14:16 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 17 May 2007 11:11:14 +0000 (21:11 +1000)
commit017e3c53f116d6a0741a21624924528dc9f98418
treec9e378349c82d6697c443dfbf62a142a9162d353
parent6a32d085ae71724edffa30fcd2045520a051cb14
[POWERPC] Add spinlock to request_phb_iospace()

request_phb_iospace() can be called from different CPUs at init
time (at least with my next patch) and thus needs a spinlock.
As for the next patch, this is a temporary workaround for 2.6.22
issues until my rewrite of IO mappings is ready (for 2.6.23)

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/pgtable_64.c