dt-bindings: iio: Drop Joachim Eastwood
[linux-2.6-microblaze.git] / mm / percpu.c
index 3633eee..27697b2 100644 (file)
@@ -3104,7 +3104,7 @@ int __init pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size,
                        goto out_free_areas;
                }
                /* kmemleak tracks the percpu allocations separately */
-               kmemleak_free(ptr);
+               kmemleak_ignore_phys(__pa(ptr));
                areas[group] = ptr;
 
                base = min(ptr, base);
@@ -3304,7 +3304,7 @@ int __init pcpu_page_first_chunk(size_t reserved_size, pcpu_fc_cpu_to_node_fn_t
                                goto enomem;
                        }
                        /* kmemleak tracks the percpu allocations separately */
-                       kmemleak_free(ptr);
+                       kmemleak_ignore_phys(__pa(ptr));
                        pages[j++] = virt_to_page(ptr);
                }
        }
@@ -3417,7 +3417,7 @@ void __init setup_per_cpu_areas(void)
        if (!ai || !fc)
                panic("Failed to allocate memory for percpu areas.");
        /* kmemleak tracks the percpu allocations separately */
-       kmemleak_free(fc);
+       kmemleak_ignore_phys(__pa(fc));
 
        ai->dyn_size = unit_size;
        ai->unit_size = unit_size;