diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-02-10 01:43:04 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:18 -0800 |
commit | 9195481d2f869a2707a272057f3f8664fd277534 (patch) | |
tree | 995f43619af48009b616bf5a7ce4a6bffd75de79 /mm/page_alloc.c | |
parent | 96177299416dbccb73b54e6b344260154a445375 (diff) | |
download | linux-3.10-9195481d2f869a2707a272057f3f8664fd277534.tar.gz linux-3.10-9195481d2f869a2707a272057f3f8664fd277534.tar.bz2 linux-3.10-9195481d2f869a2707a272057f3f8664fd277534.zip |
[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>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index f1e320b3a98..cf1a34074f0 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -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 */ |