diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-01-05 12:16:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-01-05 12:16:18 -0500 |
commit | a65981109f294ba7e64b33ad3b4575a4636fce66 (patch) | |
tree | 1061a49f11544e18775630938a8bc53920fa0421 /include/linux/genalloc.h | |
parent | 3fed6ae4b027f9c93be18520f87bd06bdffd196b (diff) | |
parent | b685a7350ae76bc0f388e24b36d06a63776c68ee (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge more updates from Andrew Morton:
- procfs updates
- various misc bits
- lib/ updates
- epoll updates
- autofs
- fatfs
- a few more MM bits
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (58 commits)
mm/page_io.c: fix polled swap page in
checkpatch: add Co-developed-by to signature tags
docs: fix Co-Developed-by docs
drivers/base/platform.c: kmemleak ignore a known leak
fs: don't open code lru_to_page()
fs/: remove caller signal_pending branch predictions
mm/: remove caller signal_pending branch predictions
arch/arc/mm/fault.c: remove caller signal_pending_branch predictions
kernel/sched/: remove caller signal_pending branch predictions
kernel/locking/mutex.c: remove caller signal_pending branch predictions
mm: select HAVE_MOVE_PMD on x86 for faster mremap
mm: speed up mremap by 20x on large regions
mm: treewide: remove unused address argument from pte_alloc functions
initramfs: cleanup incomplete rootfs
scripts/gdb: fix lx-version string output
kernel/kcov.c: mark write_comp_data() as notrace
kernel/sysctl: add panic_print into sysctl
panic: add options to print system info when panic happens
bfs: extra sanity checking and static inode bitmap
exec: separate MM_ANONPAGES and RLIMIT_STACK accounting
...
Diffstat (limited to 'include/linux/genalloc.h')
-rw-r--r-- | include/linux/genalloc.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/linux/genalloc.h b/include/linux/genalloc.h index 872f930f1b06..dd0a452373e7 100644 --- a/include/linux/genalloc.h +++ b/include/linux/genalloc.h | |||
@@ -51,7 +51,8 @@ typedef unsigned long (*genpool_algo_t)(unsigned long *map, | |||
51 | unsigned long size, | 51 | unsigned long size, |
52 | unsigned long start, | 52 | unsigned long start, |
53 | unsigned int nr, | 53 | unsigned int nr, |
54 | void *data, struct gen_pool *pool); | 54 | void *data, struct gen_pool *pool, |
55 | unsigned long start_addr); | ||
55 | 56 | ||
56 | /* | 57 | /* |
57 | * General purpose special memory pool descriptor. | 58 | * General purpose special memory pool descriptor. |
@@ -131,24 +132,24 @@ extern void gen_pool_set_algo(struct gen_pool *pool, genpool_algo_t algo, | |||
131 | 132 | ||
132 | extern unsigned long gen_pool_first_fit(unsigned long *map, unsigned long size, | 133 | extern unsigned long gen_pool_first_fit(unsigned long *map, unsigned long size, |
133 | unsigned long start, unsigned int nr, void *data, | 134 | unsigned long start, unsigned int nr, void *data, |
134 | struct gen_pool *pool); | 135 | struct gen_pool *pool, unsigned long start_addr); |
135 | 136 | ||
136 | extern unsigned long gen_pool_fixed_alloc(unsigned long *map, | 137 | extern unsigned long gen_pool_fixed_alloc(unsigned long *map, |
137 | unsigned long size, unsigned long start, unsigned int nr, | 138 | unsigned long size, unsigned long start, unsigned int nr, |
138 | void *data, struct gen_pool *pool); | 139 | void *data, struct gen_pool *pool, unsigned long start_addr); |
139 | 140 | ||
140 | extern unsigned long gen_pool_first_fit_align(unsigned long *map, | 141 | extern unsigned long gen_pool_first_fit_align(unsigned long *map, |
141 | unsigned long size, unsigned long start, unsigned int nr, | 142 | unsigned long size, unsigned long start, unsigned int nr, |
142 | void *data, struct gen_pool *pool); | 143 | void *data, struct gen_pool *pool, unsigned long start_addr); |
143 | 144 | ||
144 | 145 | ||
145 | extern unsigned long gen_pool_first_fit_order_align(unsigned long *map, | 146 | extern unsigned long gen_pool_first_fit_order_align(unsigned long *map, |
146 | unsigned long size, unsigned long start, unsigned int nr, | 147 | unsigned long size, unsigned long start, unsigned int nr, |
147 | void *data, struct gen_pool *pool); | 148 | void *data, struct gen_pool *pool, unsigned long start_addr); |
148 | 149 | ||
149 | extern unsigned long gen_pool_best_fit(unsigned long *map, unsigned long size, | 150 | extern unsigned long gen_pool_best_fit(unsigned long *map, unsigned long size, |
150 | unsigned long start, unsigned int nr, void *data, | 151 | unsigned long start, unsigned int nr, void *data, |
151 | struct gen_pool *pool); | 152 | struct gen_pool *pool, unsigned long start_addr); |
152 | 153 | ||
153 | 154 | ||
154 | extern struct gen_pool *devm_gen_pool_create(struct device *dev, | 155 | extern struct gen_pool *devm_gen_pool_create(struct device *dev, |