diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-03-24 03:15:45 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 07:33:20 -0800 |
commit | 74373c6acc52450ced28780d5fece60f1d7d20aa (patch) | |
tree | 6717fce7fdebbda48ad62b79b4ff721fae1c8dc3 /ipc | |
parent | 87e24802586333fa861861f6493c76039872755b (diff) | |
download | linux-74373c6acc52450ced28780d5fece60f1d7d20aa.tar.gz linux-74373c6acc52450ced28780d5fece60f1d7d20aa.tar.bz2 linux-74373c6acc52450ced28780d5fece60f1d7d20aa.zip |
[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 'ipc')
0 files changed, 0 insertions, 0 deletions