aboutsummaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/util.c')
-rw-r--r--mm/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/util.c b/mm/util.c
index b68d3d7d0359..7368479220b3 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -5,18 +5,18 @@
5#include <asm/uaccess.h> 5#include <asm/uaccess.h>
6 6
7/** 7/**
8 * kzalloc - allocate memory. The memory is set to zero. 8 * __kzalloc - allocate memory. The memory is set to zero.
9 * @size: how many bytes of memory are required. 9 * @size: how many bytes of memory are required.
10 * @flags: the type of memory to allocate. 10 * @flags: the type of memory to allocate.
11 */ 11 */
12void *kzalloc(size_t size, gfp_t flags) 12void *__kzalloc(size_t size, gfp_t flags)
13{ 13{
14 void *ret = ____kmalloc(size, flags); 14 void *ret = ____kmalloc(size, flags);
15 if (ret) 15 if (ret)
16 memset(ret, 0, size); 16 memset(ret, 0, size);
17 return ret; 17 return ret;
18} 18}
19EXPORT_SYMBOL(kzalloc); 19EXPORT_SYMBOL(__kzalloc);
20 20
21/* 21/*
22 * kstrdup - allocate space for and copy an existing string 22 * kstrdup - allocate space for and copy an existing string