aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
authorT.J. Alumbaugh <talumbau@google.com>2023-02-14 03:54:44 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-03-28 16:20:07 -0700
commit9a52b2f32a0942047348b30f866b846da5fcf4e3 (patch)
treeae64c43df91c3c6d28bc8f9e3317fb8f9f645fda /include/linux/mmzone.h
parentd155df53f31068c3340733d586eb9b3ddfd70fc5 (diff)
downloadlinux-9a52b2f32a0942047348b30f866b846da5fcf4e3.tar.gz
mm: multi-gen LRU: clean up sysfs code
This patch cleans up the sysfs code. Specifically, 1. use sysfs_emit(), 2. use __ATTR_RW(), and 3. constify multi-gen LRU struct attribute_group. Link: https://lkml.kernel.org/r/20230214035445.1250139-1-talumbau@google.com Signed-off-by: T.J. Alumbaugh <talumbau@google.com> Cc: Yu Zhao <yuzhao@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r--include/linux/mmzone.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 9fb1b03b83b23..bf8786d45b31e 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -1369,7 +1369,7 @@ typedef struct pglist_data {
#ifdef CONFIG_LRU_GEN
/* kswap mm walk data */
- struct lru_gen_mm_walk mm_walk;
+ struct lru_gen_mm_walk mm_walk;
/* lru_gen_folio list */
struct lru_gen_memcg memcg_lru;
#endif