]> git.baikalelectronics.ru Git - kernel.git/commit
mm/page_alloc: make pcpu_drain_mutex and pcpu_drain static
authorJason Yan <yanaijie@huawei.com>
Fri, 10 Apr 2020 21:32:32 +0000 (14:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Apr 2020 22:36:21 +0000 (15:36 -0700)
commit4a3a391f2fbf9300d80b590e5b5fe907c83bf38c
tree01df31a4f423adbbf8866055713fa9665189f641
parentf7c2412184cfcf2b243eb4059eae046f6e1301e8
mm/page_alloc: make pcpu_drain_mutex and pcpu_drain static

Fix the following sparse warning:

  mm/page_alloc.c:106:1: warning: symbol 'pcpu_drain_mutex' was not declared. Should it be static?
  mm/page_alloc.c:107:1: warning: symbol '__pcpu_scope_pcpu_drain' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200407023925.46438-1-yanaijie@huawei.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page_alloc.c