Commit 6406b41a authored by Linus Torvalds's avatar Linus Torvalds

Add infrastructure to easily make _correct_ bitmap members

in structures and unions (and why not other variables too..)
parent 6ff5815e
......@@ -3,6 +3,9 @@
#ifdef __KERNEL__
#include <linux/config.h>
#define bitmap_member(name,bits) \
unsigned long name[((bits)+BITS_PER_LONG-1)/BITS_PER_LONG]
#endif
#include <linux/posix_types.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment