]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - mm/slab_common.c
mm/migrate.c: check pagelist in move_pages_and_store_status()
[mirror_ubuntu-jammy-kernel.git] / mm / slab_common.c
index 1907cb2903c7244fb049475a1a3910907cf2e59d..5282f881d2f5171e47ba1bbf60b7fb3f4aa1040a 100644 (file)
@@ -1521,7 +1521,7 @@ void dump_unreclaimable_slab(void)
        mutex_unlock(&slab_mutex);
 }
 
-#if defined(CONFIG_MEMCG)
+#if defined(CONFIG_MEMCG_KMEM)
 void *memcg_slab_start(struct seq_file *m, loff_t *pos)
 {
        struct mem_cgroup *memcg = mem_cgroup_from_seq(m);