diff options
author | Zhao Qiang <qiang.zhao@freescale.com> | 2015-11-30 02:48:52 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-12-22 23:10:17 (GMT) |
commit | de2dd0eb30af55d3893979d5641c50c7a8969c99 (patch) | |
tree | dcfd94f13f29b4ad8bcf32b2849876467aa3626c /drivers | |
parent | e9d764f803964a54ca7da4a67d124fe824ebd80a (diff) | |
download | linux-de2dd0eb30af55d3893979d5641c50c7a8969c99.tar.xz |
genalloc:support memory-allocation with bytes-alignment to genalloc
Bytes alignment is required to manage some special RAM,
so add gen_pool_first_fit_align to genalloc,
meanwhile add gen_pool_alloc_algo to pass algo in case user
layer using more than one algo, and pass data to
gen_pool_first_fit_align(modify gen_pool_alloc as a wrapper)
Signed-off-by: Zhao Qiang <qiang.zhao@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions