diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-07-04 21:21:53 +0800 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-17 17:14:45 -0700 |
commit | 37139bb02c35bedb0c82bd21e7d1e695f5485465 (patch) | |
tree | 16afafb5817f5a26f659e5c4a46b61410590b8f3 /scripts/bin2c.c | |
parent | 74ba2b38ba990c563393e5cb540cad2939f49d95 (diff) | |
download | linux-37139bb02c35bedb0c82bd21e7d1e695f5485465.tar.bz2 |
mm/huge_memory: use helper macro __ATTR_RW
Use helper macro __ATTR_RW to define use_zero_page_attr, defrag_attr and
enabled_attr to make code more clear. Minor readability improvement.
Link: https://lkml.kernel.org/r/20220704132201.14611-9-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Zach O'Keefe <zokeefe@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions