diff options
| author | Akinobu Mita <[email protected]> | 2009-12-16 00:48:28 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-16 15:20:18 +0000 |
| commit | a66022c457755b5eef61e30866114679c95e1f54 (patch) | |
| tree | acf5cbe134398b9541dfa0db267205e6c579cb6b /lib/genalloc.c | |
| parent | bitmap: introduce bitmap_set, bitmap_clear, bitmap_find_next_zero_area (diff) | |
| download | kernel-a66022c457755b5eef61e30866114679c95e1f54.tar.gz kernel-a66022c457755b5eef61e30866114679c95e1f54.zip | |
iommu-helper: use bitmap library
Use bitmap library and kill some unused iommu helper functions.
1. s/iommu_area_free/bitmap_clear/
2. s/iommu_area_reserve/bitmap_set/
3. Use bitmap_find_next_zero_area instead of find_next_zero_area
This cannot be simple substitution because find_next_zero_area
doesn't check the last bit of the limit in bitmap
4. Remove iommu_area_free, iommu_area_reserve, and find_next_zero_area
Signed-off-by: Akinobu Mita <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: FUJITA Tomonori <[email protected]>
Cc: Joerg Roedel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions
