summaryrefslogtreecommitdiff
path: root/kern/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/bitmap.c')
-rw-r--r--kern/bitmap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/kern/bitmap.c b/kern/bitmap.c
index f1388b1d..7406c7ef 100644
--- a/kern/bitmap.c
+++ b/kern/bitmap.c
@@ -19,11 +19,9 @@
#include <kern/limits.h>
int
-bitmap_find_next_bit(volatile unsigned long *bm, int nr_bits, int bit,
- int complement)
+bitmap_find_next_bit(unsigned long *bm, int nr_bits, int bit, int complement)
{
- volatile unsigned long *start, *end;
- unsigned long word;
+ unsigned long word, *start, *end;
start = bm;
end = bm + BITMAP_LONGS(nr_bits);