Changeset 46321fb in mainline for kernel/generic/include/adt/bitmap.h
- Timestamp:
- 2008-11-25T20:22:04Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 83d9712
- Parents:
- 14c331a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/adt/bitmap.h
r14c331a r46321fb 50 50 extern void bitmap_copy(bitmap_t *dst, bitmap_t *src, count_t bits); 51 51 52 static inline int bitmap_get(bitmap_t *bitmap,index_t bit) 53 { 54 if(bit >= bitmap->bits) 55 return 0; 56 return !! ((bitmap->map)[bit/8] & (1 << (bit & 7))); 57 } 58 59 52 60 #endif 53 61
Note:
See TracChangeset
for help on using the changeset viewer.