X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fbitmap.h;h=1dbe074f1c645fed22e55484f26cdd90cc325bfb;hb=429f731dea577bdd43693940cdca524135287e6a;hp=64b4641904fee0415c169d3f20e3bd4cdba71f5c;hpb=60ca97584fcb98d2f1b14e4c2f12203dd5b3888e;p=linux-2.6 diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h index 64b4641904..1dbe074f1c 100644 --- a/include/linux/bitmap.h +++ b/include/linux/bitmap.h @@ -6,6 +6,7 @@ #include #include #include +#include /* * bitmaps provide bit arrays that consume one or more unsigned @@ -107,6 +108,7 @@ extern int __bitmap_weight(const unsigned long *bitmap, int bits); extern int bitmap_scnprintf(char *buf, unsigned int len, const unsigned long *src, int nbits); +extern int bitmap_scnprintf_len(unsigned int len); extern int __bitmap_parse(const char *buf, unsigned int buflen, int is_user, unsigned long *dst, int nbits); extern int bitmap_parse_user(const char __user *ubuf, unsigned int ulen,