[RFC PATCH] mm: page_alloc: alloc_contig_ratelimit() can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
 page_alloc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 43d3e1e4ab487..149a2b0e2b098 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -8345,12 +8345,12 @@ static unsigned long pfn_max_align_up(unsigned long pfn)
 	(defined(CONFIG_DYNAMIC_DEBUG_CORE) && defined(DYNAMIC_DEBUG_MODULE))
 static DEFINE_RATELIMIT_STATE(alloc_contig_ratelimit_state,
 		DEFAULT_RATELIMIT_INTERVAL, DEFAULT_RATELIMIT_BURST);
-int alloc_contig_ratelimit(void)
+static int alloc_contig_ratelimit(void)
 {
 	return __ratelimit(&alloc_contig_ratelimit_state);
 }
 
-void dump_migrate_failure_pages(struct list_head *page_list)
+static void dump_migrate_failure_pages(struct list_head *page_list)
 {
 	DEFINE_DYNAMIC_DEBUG_METADATA(descriptor,
 			"migrate failure");




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux