summaryrefslogtreecommitdiffstats
path: root/lib/bust_spinlocks.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-03-24 03:15:45 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 07:33:20 -0800
commit74373c6acc52450ced28780d5fece60f1d7d20aa (patch)
tree6717fce7fdebbda48ad62b79b4ff721fae1c8dc3 /lib/bust_spinlocks.c
parent87e24802586333fa861861f6493c76039872755b (diff)
downloadop-kernel-dev-74373c6acc52450ced28780d5fece60f1d7d20aa.zip
op-kernel-dev-74373c6acc52450ced28780d5fece60f1d7d20aa.tar.gz
[PATCH] bitmap: region multiword spanning support
Add support to the lib/bitmap.c bitmap_*_region() routines For bitmap regions larger than one word (nbits > BITS_PER_LONG). This removes a BUG_ON() in lib bitmap. I have an updated store queue API for SH that is currently using this with relative success, and at first glance, it seems like this could be useful for x86 (arch/i386/kernel/pci-dma.c) as well. Particularly for anything using dma_declare_coherent_memory() on large areas and that attempts to allocate large buffers from that space. Paul Jackson also did some cleanup to this patch. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/bust_spinlocks.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud