aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c10
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
1441EXPORT_SYMBOL(free_pages); 1441EXPORT_SYMBOL(free_pages);
1442 1442
1443/*
1444 * Total amount of free (allocatable) RAM:
1445 */
1446unsigned int nr_free_pages(void)
1447{
1448 return global_page_state(NR_FREE_PAGES);
1449}
1450
1451EXPORT_SYMBOL(nr_free_pages);
1452
1453#ifdef CONFIG_NUMA 1443#ifdef CONFIG_NUMA
1454unsigned int nr_free_pages_pgdat(pg_data_t *pgdat) 1444unsigned int nr_free_pages_pgdat(pg_data_t *pgdat)
1455{ 1445{