mm: memcg: add swapcache stat for memcg v2
[platform/kernel/linux-starfive.git] / include / linux / mmzone.h
index 66d68e5..fc99e92 100644 (file)
@@ -206,6 +206,9 @@ enum node_stat_item {
        NR_KERNEL_SCS_KB,       /* measured in KiB */
 #endif
        NR_PAGETABLE,           /* used for pagetables */
+#ifdef CONFIG_SWAP
+       NR_SWAPCACHE,
+#endif
        NR_VM_NODE_STAT_ITEMS
 };