[PATCH v3 03/23] mm/bootmem: remove duplicated declaration of __free_pages_bootmem()

Santosh Shilimkar santosh.shilimkar at ti.com
Mon Dec 9 16:50:36 EST 2013


From: Grygorii Strashko <grygorii.strashko at ti.com>

The __free_pages_bootmem is used internally by MM core and
already defined in internal.h. So, remove duplicated declaration.

Cc: Yinghai Lu <yinghai at kernel.org>
Cc: Andrew Morton <akpm at linux-foundation.org>
Reviewed-by: Tejun Heo <tj at kernel.org>
Cc: Tejun Heo <tj at kernel.org>
Signed-off-by: Grygorii Strashko <grygorii.strashko at ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
---
 include/linux/bootmem.h |    1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/bootmem.h b/include/linux/bootmem.h
index f1f07d3..55d52fb 100644
--- a/include/linux/bootmem.h
+++ b/include/linux/bootmem.h
@@ -52,7 +52,6 @@ extern void free_bootmem_node(pg_data_t *pgdat,
 			      unsigned long size);
 extern void free_bootmem(unsigned long physaddr, unsigned long size);
 extern void free_bootmem_late(unsigned long physaddr, unsigned long size);
-extern void __free_pages_bootmem(struct page *page, unsigned int order);
 
 /*
  * Flags for reserve_bootmem (also if CONFIG_HAVE_ARCH_BOOTMEM_NODE,
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list