]> git.hungrycats.org Git - linux/commit
[PATCH] ppc64: Fix a sleeping with spinlock bug in ioremap
authorAndrew Morton <akpm@osdl.org>
Thu, 26 Feb 2004 14:44:54 +0000 (06:44 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 26 Feb 2004 14:44:54 +0000 (06:44 -0800)
commit272c5ac428ae43a4d581305bff9d5ebc26bb4767
tree6b545b5a47dfee24f06790df82d859359a03cb17
parentb9f4773146bb6abd2e4ec1872548faa4209d8b29
[PATCH] ppc64: Fix a sleeping with spinlock bug in ioremap

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

ppc64 uses its own range allocator for ioremap (in order to allocate
things in a different space than normal vmalloc).  This is historic stuff,
we may get rid of it, but in the meantime, here's a patch turning the
spinlock in there into a semaphore so it doesn't blow up when doing
kmallocs.
arch/ppc64/mm/imalloc.c