On Wed, Nov 10, 2004 at 01:45:40PM -0600, Jake Maciejewski wrote:
> Does this show what you want?
> http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/11-10-04/with_bitmap.c.diff/

Please apply the patch below. it definitely fixes one reiser4/amd64 bug. 


===== plugin/space/bitmap.c 1.183 vs edited =====
--- 1.183/plugin/space/bitmap.c Wed Oct 13 17:22:01 2004
+++ edited/plugin/space/bitmap.c        Sun Dec  5 00:18:55 2004
@@ -170,7 +170,7 @@
 static int
 find_next_zero_bit_in_word(ulong_t word, int start_bit)
 {
-       unsigned int mask = 1 << start_bit;
+       ulong_t mask = 1 << start_bit;
        int i = start_bit;
 
        while ((word & mask) != 0) {
@@ -234,7 +234,7 @@
 /* search for the first set bit in single word. */
 static int find_last_set_bit_in_word (ulong_t word, int start_bit)
 {
-       unsigned bit_mask;
+       ulong_t bit_mask;
        int nr = start_bit;
 
        assert ("zam-965", start_bit < BITS_PER_LONG);

Reply via email to