aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/slab.c b/mm/slab.c
index e5ec26e0c460..eb70fddf2059 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -2944,9 +2944,8 @@ EXPORT_SYMBOL(__kmalloc);
2944 * Objects should be dereferenced using the per_cpu_ptr macro only. 2944 * Objects should be dereferenced using the per_cpu_ptr macro only.
2945 * 2945 *
2946 * @size: how many bytes of memory are required. 2946 * @size: how many bytes of memory are required.
2947 * @align: the alignment, which can't be greater than SMP_CACHE_BYTES.
2948 */ 2947 */
2949void *__alloc_percpu(size_t size, size_t align) 2948void *__alloc_percpu(size_t size)
2950{ 2949{
2951 int i; 2950 int i;
2952 struct percpu_data *pdata = kmalloc(sizeof (*pdata), GFP_KERNEL); 2951 struct percpu_data *pdata = kmalloc(sizeof (*pdata), GFP_KERNEL);