summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrishna Reddy <vdumpa@nvidia.com>2012-01-22 18:17:30 -0800
committerVarun Colbert <vcolbert@nvidia.com>2012-01-30 11:37:50 -0800
commit49eceb5f3c1895edc34e20c8526949718e142315 (patch)
tree1dd73de2442884efae20fb4a76609985b1e41f0c
parent73e96e08f958390bdd11afb89aafe7780541184a (diff)
genalloc: Fix build error.
Fix build error caused by missing arg. Change-Id: I5ab0efed314db320aaa70a3acb406f37b17b183a Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/76759 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
-rw-r--r--include/linux/genalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/genalloc.h b/include/linux/genalloc.h
index 32034bceedaf..ae9daa293958 100644
--- a/include/linux/genalloc.h
+++ b/include/linux/genalloc.h
@@ -81,7 +81,7 @@ extern unsigned long gen_pool_alloc_addr(struct gen_pool *,
*/
static inline unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size)
{
- return gen_pool_alloc_addr(pool, size);
+ return gen_pool_alloc_addr(pool, size, 0);
}
extern void gen_pool_free(struct gen_pool *, unsigned long, size_t);
extern void gen_pool_for_each_chunk(struct gen_pool *,