projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sfc: hold filter_sem consistently during reset
[linux-2.6-microblaze.git]
/
mm
/
gup_benchmark.c
diff --git
a/mm/gup_benchmark.c
b/mm/gup_benchmark.c
index
0f44759
..
6a47370
100644
(file)
--- a/
mm/gup_benchmark.c
+++ b/
mm/gup_benchmark.c
@@
-23,7
+23,7
@@
static int __gup_benchmark_ioctl(unsigned int cmd,
struct page **pages;
nr_pages = gup->size / PAGE_SIZE;
- pages = kv
zalloc(sizeof(void *) * nr_pages
, GFP_KERNEL);
+ pages = kv
calloc(nr_pages, sizeof(void *)
, GFP_KERNEL);
if (!pages)
return -ENOMEM;