]> www.infradead.org Git - nvme.git/commit
mm: memory: rename pages_per_huge_page to nr_pages
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 18 Jun 2024 09:12:42 +0000 (17:12 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 4 Jul 2024 02:30:20 +0000 (19:30 -0700)
commit2f9f0854360f0ed0f530dbc4566b052a4a7f3637
treefcb868e2586c92cebf701a4e5db82e9855b73166
parent530dd9926dc16220d2fae0997f45cda94f5f0864
mm: memory: rename pages_per_huge_page to nr_pages

Since the callers are converted to use nr_pages naming, use it inside too.

Link: https://lkml.kernel.org/r/20240618091242.2140164-5-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: "Huang, Ying" <ying.huang@intel.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <muchun.song@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory.c