]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Octeon: Mark some functions __init in smp.c
authorYang Shi <yang.shi@windriver.com>
Sat, 20 Feb 2016 01:04:07 +0000 (17:04 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:10 +0000 (14:02 +0200)
commit12ef8bc3eef702bf1dca73baadd62c18ad54d51f
tree23024cc67f2f00f31b636f835cec6dfc5be33a79
parentb8355d49e99c3c1bdcc0cf8b4a7287a80c9f855d
MIPS: Octeon: Mark some functions __init in smp.c

octeon_smp_setup and octeon_prepare_cpus are just used during initialization
period, so mark them as __init. And, octeon_prepare_cpus is just used in smp.c,
so make it static as well.

Signed-off-by: Yang Shi <yang.shi@windriver.com>
Cc: david.daney@cavium.com
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12574/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/smp.c