mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
Patch series "mm: split a couple of headers from internal.h", v2. mm/internal.h becomes more and more bloated. Split declarations related to mm_init, memblock, vmalloc and sparse into new headers. This patch (of 3): mm/internal.h becomes more and more bloated. Move declarations for related to mm/mm_init.c and mm/memblock.c to a new mm/mm_init.h header. No functional changes. [[email protected]: split stubfs from internal.h to mm_init.h] Link: https://lore.kernel.org/[email protected] Link: https://lore.kernel.org/[email protected] Link: https://lore.kernel.org/[email protected] Signed-off-by: Mike Rapoport (Microsoft) <[email protected]> Acked-by: Muchun Song <[email protected]> Acked-by: Vlastimil Babka (SUSE) <[email protected]> Acked-by: David Hildenbrand (Arm) <[email protected]> Acked-by: Lorenzo Stoakes <[email protected]> Acked-by: Pratyush Yadav <[email protected]> Acked-by: SJ Park <[email protected]> Cc: Alexander Graf <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: Brendan Jackman <[email protected]> Cc: Brendan Jackman <[email protected]> Cc: Dennis Zhou <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Liam R. Howlett <[email protected]> Cc: Marco Elver <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Oscar Salvador <[email protected]> Cc: Pasha Tatashin <[email protected]> Cc: Suren Baghdasaryan <[email protected]> Cc: Tejun Heo <[email protected]> Cc: "Uladzislau Rezki (Sony)" <[email protected]> Cc: Zi Yan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
25 lines
537 B
C
25 lines
537 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
#ifndef __MM_MM_INIT_H
|
|
#define __MM_MM_INIT_H
|
|
|
|
void memblock_free_pages(unsigned long pfn, unsigned int order)
|
|
{
|
|
}
|
|
|
|
static inline void accept_memory(phys_addr_t start, unsigned long size)
|
|
{
|
|
}
|
|
|
|
unsigned long free_reserved_area(void *start, void *end, int poison, const char *s);
|
|
void free_reserved_page(struct page *page);
|
|
|
|
static inline bool deferred_pages_enabled(void)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
static inline void init_deferred_page(unsigned long pfn, int nid)
|
|
{
|
|
}
|
|
#endif /* __MM_MM_INIT_H */
|