Commit a621184a authored by Mel Gorman's avatar Mel Gorman Committed by Linus Torvalds

mm, meminit: remove early_page_nid_uninitialised

The helper early_page_nid_uninitialised() has been dead since commit
974a786e ("mm, page_alloc: remove MIGRATE_RESERVE") so remove the
dead code.

Link: http://lkml.kernel.org/r/1468008031-3848-2-git-send-email-mgorman@techsingularity.netSigned-off-by: default avatarMel Gorman <mgorman@techsingularity.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fec1e5f9
...@@ -295,14 +295,6 @@ static inline bool __meminit early_page_uninitialised(unsigned long pfn) ...@@ -295,14 +295,6 @@ static inline bool __meminit early_page_uninitialised(unsigned long pfn)
return false; return false;
} }
static inline bool early_page_nid_uninitialised(unsigned long pfn, int nid)
{
if (pfn >= NODE_DATA(nid)->first_deferred_pfn)
return true;
return false;
}
/* /*
* Returns false when the remaining initialisation should be deferred until * Returns false when the remaining initialisation should be deferred until
* later in the boot cycle when it can be parallelised. * later in the boot cycle when it can be parallelised.
...@@ -342,11 +334,6 @@ static inline bool early_page_uninitialised(unsigned long pfn) ...@@ -342,11 +334,6 @@ static inline bool early_page_uninitialised(unsigned long pfn)
return false; return false;
} }
static inline bool early_page_nid_uninitialised(unsigned long pfn, int nid)
{
return false;
}
static inline bool update_defer_init(pg_data_t *pgdat, static inline bool update_defer_init(pg_data_t *pgdat,
unsigned long pfn, unsigned long zone_end, unsigned long pfn, unsigned long zone_end,
unsigned long *nr_initialised) unsigned long *nr_initialised)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment