|
From: <sv...@va...> - 2009-04-23 15:41:33
|
Author: bart
Date: 2009-04-23 16:41:26 +0100 (Thu, 23 Apr 2009)
New Revision: 9588
Log:
Fixed bug in bm0_clear_range() that caused this fucntion to clear more bits than it should clear.
Modified:
trunk/drd/drd_bitmap.h
Modified: trunk/drd/drd_bitmap.h
===================================================================
--- trunk/drd/drd_bitmap.h 2009-04-23 15:39:46 UTC (rev 9587)
+++ trunk/drd/drd_bitmap.h 2009-04-23 15:41:26 UTC (rev 9588)
@@ -142,7 +142,7 @@
tl_assert(UWORD_MSB(a1) == UWORD_MSB(a1 + size - 1));
#endif
bm0[a1 >> BITS_PER_BITS_PER_UWORD]
- &= ~(((UWord)1 << size) - 1) << UWORD_LSB(a1);
+ &= ~((((UWord)1 << size) - 1) << UWORD_LSB(a1));
}
static __inline__ UWord bm0_is_set(const UWord* bm0, const Addr a)
|