diff options
| author | Ingo Molnar <mingo@elte.hu> | 2011-05-26 07:51:31 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2011-05-26 07:51:35 -0400 |
| commit | de66ee979d0ea45171cc2501750e9f9f22f5a690 (patch) | |
| tree | 5ab1a5c6b596b9b786902fb380274e1e1f4ceb13 /include/linux/bitmap.h | |
| parent | 916f676f8dc016103f983c7ec54c18ecdbb6e349 (diff) | |
| parent | 4db70f73e56961b9bcdfd0c36c62847a18b7dbb5 (diff) | |
Merge branch 'linus' into x86/urgent
Merge reason: we want to queue up a dependent patch.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/bitmap.h')
| -rw-r--r-- | include/linux/bitmap.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h index daf8c480c786..dcafe0bf0005 100644 --- a/include/linux/bitmap.h +++ b/include/linux/bitmap.h | |||
| @@ -55,7 +55,8 @@ | |||
| 55 | * bitmap_parse(buf, buflen, dst, nbits) Parse bitmap dst from kernel buf | 55 | * bitmap_parse(buf, buflen, dst, nbits) Parse bitmap dst from kernel buf |
| 56 | * bitmap_parse_user(ubuf, ulen, dst, nbits) Parse bitmap dst from user buf | 56 | * bitmap_parse_user(ubuf, ulen, dst, nbits) Parse bitmap dst from user buf |
| 57 | * bitmap_scnlistprintf(buf, len, src, nbits) Print bitmap src as list to buf | 57 | * bitmap_scnlistprintf(buf, len, src, nbits) Print bitmap src as list to buf |
| 58 | * bitmap_parselist(buf, dst, nbits) Parse bitmap dst from list | 58 | * bitmap_parselist(buf, dst, nbits) Parse bitmap dst from kernel buf |
| 59 | * bitmap_parselist_user(buf, dst, nbits) Parse bitmap dst from user buf | ||
| 59 | * bitmap_find_free_region(bitmap, bits, order) Find and allocate bit region | 60 | * bitmap_find_free_region(bitmap, bits, order) Find and allocate bit region |
| 60 | * bitmap_release_region(bitmap, pos, order) Free specified bit region | 61 | * bitmap_release_region(bitmap, pos, order) Free specified bit region |
| 61 | * bitmap_allocate_region(bitmap, pos, order) Allocate specified bit region | 62 | * bitmap_allocate_region(bitmap, pos, order) Allocate specified bit region |
| @@ -129,6 +130,8 @@ extern int bitmap_scnlistprintf(char *buf, unsigned int len, | |||
| 129 | const unsigned long *src, int nbits); | 130 | const unsigned long *src, int nbits); |
| 130 | extern int bitmap_parselist(const char *buf, unsigned long *maskp, | 131 | extern int bitmap_parselist(const char *buf, unsigned long *maskp, |
| 131 | int nmaskbits); | 132 | int nmaskbits); |
| 133 | extern int bitmap_parselist_user(const char __user *ubuf, unsigned int ulen, | ||
| 134 | unsigned long *dst, int nbits); | ||
| 132 | extern void bitmap_remap(unsigned long *dst, const unsigned long *src, | 135 | extern void bitmap_remap(unsigned long *dst, const unsigned long *src, |
| 133 | const unsigned long *old, const unsigned long *new, int bits); | 136 | const unsigned long *old, const unsigned long *new, int bits); |
| 134 | extern int bitmap_bitremap(int oldbit, | 137 | extern int bitmap_bitremap(int oldbit, |
