diff options
author | Zhao Qiang <qiang.zhao@freescale.com> | 2015-11-30 10:48:52 +0800 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-12-22 17:10:17 -0600 |
commit | de2dd0eb30af55d3893979d5641c50c7a8969c99 (patch) | |
tree | dcfd94f13f29b4ad8bcf32b2849876467aa3626c /lib/compat_audit.c | |
parent | e9d764f803964a54ca7da4a67d124fe824ebd80a (diff) |
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 'lib/compat_audit.c')
0 files changed, 0 insertions, 0 deletions