diff options
| author | 2018-08-01 17:58:55 -0700 | |
|---|---|---|
| committer | 2018-08-01 17:58:55 -0700 | |
| commit | 5d81a787bd4d896238c0c8d73d514290abd1d0d2 (patch) | |
| tree | 4dc44d5247cc172b08e0e194aa395ee2282449cf /include/linux | |
| parent | Input: pm8941-pwrkey - add resin entry (diff) | |
| parent | bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free() (diff) | |
Merge branch 'ib/4.17-bitmap' into next
Bring in bitmap API improvements.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/bitmap.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h index 1ee46f492267..acf5e8df3504 100644 --- a/include/linux/bitmap.h +++ b/include/linux/bitmap.h @@ -105,6 +105,14 @@ */ /* + * Allocation and deallocation of bitmap. + * Provided in lib/bitmap.c to avoid circular dependency. + */ +extern unsigned long *bitmap_alloc(unsigned int nbits, gfp_t flags); +extern unsigned long *bitmap_zalloc(unsigned int nbits, gfp_t flags); +extern void bitmap_free(const unsigned long *bitmap); + +/* * lib/bitmap.c provides these functions: */ |
