[PATCH] Drop nr_free_pages_pgdat()
Function is unnecessary now. We can use the summing features of the ZVCs to get the values we need. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
9617729941
commit
9195481d2f
@@ -1440,13 +1440,6 @@ fastcall void free_pages(unsigned long addr, unsigned int order)
|
||||
|
||||
EXPORT_SYMBOL(free_pages);
|
||||
|
||||
#ifdef CONFIG_NUMA
|
||||
unsigned int nr_free_pages_pgdat(pg_data_t *pgdat)
|
||||
{
|
||||
return node_page_state(pgdat->node_id, NR_FREE_PAGES);
|
||||
}
|
||||
#endif
|
||||
|
||||
static unsigned int nr_free_zone_pages(int offset)
|
||||
{
|
||||
/* Just pick one node, since fallback list is circular */
|
||||
|
Reference in New Issue
Block a user