diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index ba62d8789f73..f1e320b3a988 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1440,16 +1440,6 @@ fastcall void free_pages(unsigned long addr, unsigned int order) | |||
1440 | 1440 | ||
1441 | EXPORT_SYMBOL(free_pages); | 1441 | EXPORT_SYMBOL(free_pages); |
1442 | 1442 | ||
1443 | /* | ||
1444 | * Total amount of free (allocatable) RAM: | ||
1445 | */ | ||
1446 | unsigned int nr_free_pages(void) | ||
1447 | { | ||
1448 | return global_page_state(NR_FREE_PAGES); | ||
1449 | } | ||
1450 | |||
1451 | EXPORT_SYMBOL(nr_free_pages); | ||
1452 | |||
1453 | #ifdef CONFIG_NUMA | 1443 | #ifdef CONFIG_NUMA |
1454 | unsigned int nr_free_pages_pgdat(pg_data_t *pgdat) | 1444 | unsigned int nr_free_pages_pgdat(pg_data_t *pgdat) |
1455 | { | 1445 | { |