summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@marvell.com>2015-11-12 20:04:42 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2015-11-12 15:18:14 +0000
commit29b8302b1a7baef6b4c71ff368bd14729f26eb0c (patch)
tree7ede49024cff0805e5f93162a0d5c944103863a2 /arch/arm64
parentd19279154b3fff9adff96b54d1a77dfb8f01e3da (diff)
downloadlinux-29b8302b1a7baef6b4c71ff368bd14729f26eb0c.tar.gz
linux-29b8302b1a7baef6b4c71ff368bd14729f26eb0c.tar.xz
arm64: smp: make of_parse_and_init_cpus static
of_parse_and_init_cpus is only called from within smp.c, so it can be declared static. Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c
index 2bbdc0e4fd14..b1adc51b2c2e 100644
--- a/arch/arm64/kernel/smp.c
+++ b/arch/arm64/kernel/smp.c
@@ -473,7 +473,7 @@ acpi_parse_gic_cpu_interface(struct acpi_subtable_header *header,
* cpu logical map array containing MPIDR values related to logical
* cpus. Assumes that cpu_logical_map(0) has already been initialized.
*/
-void __init of_parse_and_init_cpus(void)
+static void __init of_parse_and_init_cpus(void)
{
struct device_node *dn = NULL;