OSDN Git Service

MIPS: Loongson64: Make some functions static in smp.c
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 27 May 2021 11:52:53 +0000 (19:52 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 1 Jun 2021 09:17:01 +0000 (11:17 +0200)
commitab78bb62e936f7ae0b1c501c6c9d88777c894b8e
tree5b6c2dacb67c515f112396553aaa097bbc86fb6d
parentb35ef2dd1675cfb0406e9a88f095a7539f6a05a2
MIPS: Loongson64: Make some functions static in smp.c

Make some functions static to fix the following sparse warnings:

  arch/mips/loongson64/smp.c:54:5: sparse: sparse: symbol 'ipi_read_clear' was not declared. Should it be static?
  arch/mips/loongson64/smp.c:55:6: sparse: sparse: symbol 'ipi_write_action' was not declared. Should it be static?
  arch/mips/loongson64/smp.c:56:6: sparse: sparse: symbol 'ipi_write_enable' was not declared. Should it be static?
  arch/mips/loongson64/smp.c:57:6: sparse: sparse: symbol 'ipi_clear_buf' was not declared. Should it be static?
  arch/mips/loongson64/smp.c:58:6: sparse: sparse: symbol 'ipi_write_buf' was not declared. Should it be static?

Fixes: fed4955f304e ("MIPS: Loongson64: Add Mail_Send support for 3A4000+ CPU")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/loongson64/smp.c