kasan, mm: only define ___GFP_SKIP_KASAN_POISON with HW_TAGS
[linux-2.6-microblaze.git] / mm / percpu-stats.c
index c6bd092..dd3590d 100644 (file)
@@ -144,7 +144,7 @@ alloc_buffer:
        spin_unlock_irq(&pcpu_lock);
 
        /* there can be at most this many free and allocated fragments */
-       buffer = vmalloc(array_size(sizeof(int), (2 * max_nr_alloc + 1)));
+       buffer = vmalloc_array(2 * max_nr_alloc + 1, sizeof(int));
        if (!buffer)
                return -ENOMEM;