mirror of
https://github.com/MiSTer-devel/Linux-Kernel_MiSTer.git
synced 2026-05-17 03:03:57 +00:00
v5.14
This commit is contained in:
@@ -18,18 +18,6 @@ struct vmem_altmap;
|
||||
#ifdef CONFIG_MEMORY_HOTPLUG
|
||||
struct page *pfn_to_online_page(unsigned long pfn);
|
||||
|
||||
/*
|
||||
* Types for free bootmem stored in page->lru.next. These have to be in
|
||||
* some random range in unsigned long space for debugging purposes.
|
||||
*/
|
||||
enum {
|
||||
MEMORY_HOTPLUG_MIN_BOOTMEM_TYPE = 12,
|
||||
SECTION_INFO = MEMORY_HOTPLUG_MIN_BOOTMEM_TYPE,
|
||||
MIX_SECTION_INFO,
|
||||
NODE_INFO,
|
||||
MEMORY_HOTPLUG_MAX_BOOTMEM_TYPE = NODE_INFO,
|
||||
};
|
||||
|
||||
/* Types for control the zone type of onlined and offlined memory */
|
||||
enum {
|
||||
/* Offline the memory. */
|
||||
@@ -222,17 +210,6 @@ static inline void arch_refresh_nodedata(int nid, pg_data_t *pgdat)
|
||||
#endif /* CONFIG_NUMA */
|
||||
#endif /* CONFIG_HAVE_ARCH_NODEDATA_EXTENSION */
|
||||
|
||||
#ifdef CONFIG_HAVE_BOOTMEM_INFO_NODE
|
||||
extern void __init register_page_bootmem_info_node(struct pglist_data *pgdat);
|
||||
#else
|
||||
static inline void register_page_bootmem_info_node(struct pglist_data *pgdat)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
extern void put_page_bootmem(struct page *page);
|
||||
extern void get_page_bootmem(unsigned long ingo, struct page *page,
|
||||
unsigned long type);
|
||||
|
||||
void get_online_mems(void);
|
||||
void put_online_mems(void);
|
||||
|
||||
@@ -260,10 +237,6 @@ static inline void zone_span_writelock(struct zone *zone) {}
|
||||
static inline void zone_span_writeunlock(struct zone *zone) {}
|
||||
static inline void zone_seqlock_init(struct zone *zone) {}
|
||||
|
||||
static inline void register_page_bootmem_info_node(struct pglist_data *pgdat)
|
||||
{
|
||||
}
|
||||
|
||||
static inline int try_online_node(int nid)
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user