summaryrefslogtreecommitdiff
path: root/include/linux/bitmap.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2004-02-05 12:21:02 -0500
committerLen Brown <len.brown@intel.com>2004-02-05 12:21:02 -0500
commit151fa98b00778e62ebb74f8dd64a0f0cff9997ac (patch)
treeb50419187097dcb135c2c1f6bfa4e1429264fc36 /include/linux/bitmap.h
parentcbd884c9feafad7e29214eeaee9a36e48053d31a (diff)
parent12a981f8fd62fb34823626844a5c76d6614055fe (diff)
Merge intel.com:/home/lenb/bk/linux-2.6.3
into intel.com:/home/lenb/src/linux-acpi-test-2.6.3
Diffstat (limited to 'include/linux/bitmap.h')
-rw-r--r--include/linux/bitmap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h
index b84caaebed87..97fec37b1029 100644
--- a/include/linux/bitmap.h
+++ b/include/linux/bitmap.h
@@ -41,6 +41,10 @@ void bitmap_and(unsigned long *dst, const unsigned long *bitmap1,
void bitmap_or(unsigned long *dst, const unsigned long *bitmap1,
const unsigned long *bitmap2, int bits);
int bitmap_weight(const unsigned long *bitmap, int bits);
+int bitmap_snprintf(char *buf, unsigned int buflen,
+ const unsigned long *maskp, int bits);
+int bitmap_parse(const char __user *ubuf, unsigned int ubuflen,
+ unsigned long *maskp, int bits);
#endif /* __ASSEMBLY__ */