]> git.ipfire.org Git - thirdparty/linux.git/commit - mm/page_alloc.c
mm: move get_page_from_free_area() to mm/page_alloc.c
authorMike Rapoport (IBM) <rppt@kernel.org>
Sun, 19 Mar 2023 11:42:14 +0000 (13:42 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 6 Apr 2023 02:42:51 +0000 (19:42 -0700)
commit5d671eb4ef7e1423a78fc0c12dd419c1dc1f6967
treede82bd156d587e69537530d5bce2a3dc7c94e9b6
parent53d36a56d8c494554e816300ebc0f7c23274b3ae
mm: move get_page_from_free_area() to mm/page_alloc.c

The get_page_from_free_area() helper is only used in mm/page_alloc.c so
move it there to reduce noise in include/linux/mmzone.h

Link: https://lkml.kernel.org/r/20230319114214.2133332-1-rppt@kernel.org
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Reviewed-by: Lorenzo Stoakes <lstoakes@gmail.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmzone.h
mm/page_alloc.c