summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorMatthew Dobson <colpatch@us.ibm.com>2003-02-05 22:55:32 -0800
committerChristoph Hellwig <hch@lab343.munich.sgi.com>2003-02-05 22:55:32 -0800
commitea4e0b5bc6a86a370d5b7089af4d9aa901cecf9c (patch)
treea29b51d0344c48e60596e8c920f8a14148d15c3d /include/linux/root_dev.h
parent3fa327f8a756c99e76fc5f95459fc85a45bcafc5 (diff)
[PATCH] Broken CLEAR_BITMAP() macro
The CLEAR_BITMAP() macro in include/linux/types.h is broken and doesn't round the bitmap size to the proper 'long' boundary. This fixes it by creating a macro BITS_TO_LONGS that just rounds a number of bits up to the closest number of unsigned longs. This makes the DECLARE & CLEAR _BITMAP macros more readable and fixes the bug.
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions