diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-10-19 02:40:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:42 -0400 |
commit | 14ed9d23aa9acd79210a92ac561a728b42a8e281 (patch) | |
tree | 2a8aca939e4f4376b26485b518d55d152dd45e48 /include/linux/bitmap.h | |
parent | 1cafc30f43696e8b1b6f7ef4fed354cb3e3af2e6 (diff) |
remove BITS_TO_TYPE macro
remove BITS_TO_TYPE macro
I realized, that it is actually the same as DIV_ROUND_UP, use it instead.
[akpm@linux-foundation.org: build fix]
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/bitmap.h')
-rw-r--r-- | include/linux/bitmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h index 64b4641904fe..acad1105d942 100644 --- a/include/linux/bitmap.h +++ b/include/linux/bitmap.h | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <linux/types.h> | 6 | #include <linux/types.h> |
7 | #include <linux/bitops.h> | 7 | #include <linux/bitops.h> |
8 | #include <linux/string.h> | 8 | #include <linux/string.h> |
9 | #include <linux/kernel.h> | ||
9 | 10 | ||
10 | /* | 11 | /* |
11 | * bitmaps provide bit arrays that consume one or more unsigned | 12 | * bitmaps provide bit arrays that consume one or more unsigned |