mirror of https://gitee.com/openkylin/linux.git
mm: make setup_per_zone_inactive_ratio() static
Sparse output following warning. mm/page_alloc.c:4301:6: warning: symbol 'setup_per_zone_inactive_ratio' was not declared. Should it be static? cleanup here. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
14b90b22ec
commit
efab818641
|
@ -4314,7 +4314,7 @@ void setup_per_zone_pages_min(void)
|
|||
* 1TB 101 10GB
|
||||
* 10TB 320 32GB
|
||||
*/
|
||||
void setup_per_zone_inactive_ratio(void)
|
||||
static void setup_per_zone_inactive_ratio(void)
|
||||
{
|
||||
struct zone *zone;
|
||||
|
||||
|
|
Loading…
Reference in New Issue