Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156599
b: refs/heads/master
c: 5e2f89b
h: refs/heads/master
i:
  156597: 6723e11
  156595: 04101a5
  156591: 5eb6694
v: v3
  • Loading branch information
Figo.zhang authored and Linus Torvalds committed Aug 10, 2009
1 parent 1d24be7 commit 8b121cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1392e3b33319fd1a2527bebfc56631c2f2d3c7c5
refs/heads/master: 5e2f89b5d5d87a7c3ba19fc85ba0c29adb65f639
4 changes: 2 additions & 2 deletions trunk/mm/mempool.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,14 @@ EXPORT_SYMBOL(mempool_free_slab);
*/
void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data)
{
size_t size = (size_t)(long)pool_data;
size_t size = (size_t)pool_data;
return kmalloc(size, gfp_mask);
}
EXPORT_SYMBOL(mempool_kmalloc);

void *mempool_kzalloc(gfp_t gfp_mask, void *pool_data)
{
size_t size = (size_t) pool_data;
size_t size = (size_t)pool_data;
return kzalloc(size, gfp_mask);
}
EXPORT_SYMBOL(mempool_kzalloc);
Expand Down

0 comments on commit 8b121cf

Please sign in to comment.