Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281312
b: refs/heads/master
c: fb92728
h: refs/heads/master
v: v3
  • Loading branch information
Jerome Marchand authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent ceabfdb commit d499af5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 04e7bbad44c1a0c449719f90d507d13e015f1444
refs/heads/master: fb927284e4d3a0c50a47063ff9be1fe3f5511f61
3 changes: 2 additions & 1 deletion trunk/drivers/staging/zram/zram_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,8 @@ int zram_init_device(struct zram *zram)
goto fail_no_table;
}

zram->compress_buffer = (void *)__get_free_pages(__GFP_ZERO, 1);
zram->compress_buffer =
(void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, 1);
if (!zram->compress_buffer) {
pr_err("Error allocating compressor buffer space\n");
ret = -ENOMEM;
Expand Down

0 comments on commit d499af5

Please sign in to comment.