Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353991
b: refs/heads/master
c: 4bbc0bc
h: refs/heads/master
i:
  353989: 6128b01
  353987: 55e0c9b
  353983: bda895f
v: v3
  • Loading branch information
Davidlohr Bueso authored and Greg Kroah-Hartman committed Jan 16, 2013
1 parent 420b508 commit ec13f38
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1867fa64ff08b59d2c65f598c4d272397d4863c6
refs/heads/master: 4bbc0bc06b8b0cced31ee17beb753ad51a2e47e7
11 changes: 11 additions & 0 deletions trunk/drivers/staging/zsmalloc/zsmalloc-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,17 @@ static int zs_init(void)
return notifier_to_errno(ret);
}

/**
* zs_create_pool - Creates an allocation pool to work from.
* @name: name of the pool to be created
* @flags: allocation flags used when growing pool
*
* This function must be called before anything when using
* the zsmalloc allocator.
*
* On success, a pointer to the newly created pool is returned,
* otherwise NULL.
*/
struct zs_pool *zs_create_pool(const char *name, gfp_t flags)
{
int i, ovhd_size;
Expand Down

0 comments on commit ec13f38

Please sign in to comment.