diff options
| author | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
| commit | ea4d65f14f6aaa53e379b93c5544245ef081b3e7 (patch) | |
| tree | a15485f4f1cf547a52b31fa8e16e14b9579b7200 /include/linux/bitmap.h | |
| parent | ce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c (diff) | |
| parent | 496f3347d834aec91c38b45d6249ed00f58ad233 (diff) | |
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
Diffstat (limited to 'include/linux/bitmap.h')
| -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 @@ | |||
| 105 | */ | 105 | */ |
| 106 | 106 | ||
| 107 | /* | 107 | /* |
| 108 | * Allocation and deallocation of bitmap. | ||
| 109 | * Provided in lib/bitmap.c to avoid circular dependency. | ||
| 110 | */ | ||
| 111 | extern unsigned long *bitmap_alloc(unsigned int nbits, gfp_t flags); | ||
| 112 | extern unsigned long *bitmap_zalloc(unsigned int nbits, gfp_t flags); | ||
| 113 | extern void bitmap_free(const unsigned long *bitmap); | ||
| 114 | |||
| 115 | /* | ||
| 108 | * lib/bitmap.c provides these functions: | 116 | * lib/bitmap.c provides these functions: |
| 109 | */ | 117 | */ |
| 110 | 118 | ||
