From: Jisheng Zhang Date: Thu, 12 Nov 2015 12:04:42 +0000 (+0800) Subject: arm64: smp: make of_parse_and_init_cpus static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=29b8302b1a7baef6b4c71ff368bd14729f26eb0c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Catalin Marinas --- 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;