arm64: smp: make of_parse_and_init_cpus static
authorJisheng Zhang <jszhang@marvell.com>
Thu, 12 Nov 2015 12:04:42 +0000 (20:04 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 12 Nov 2015 15:18:14 +0000 (15:18 +0000)
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>
arch/arm64/kernel/smp.c

index 2bbdc0e4fd140581706d17b54b8a9089b77e7630..b1adc51b2c2e7682212554ba8276b5e7c25fbff5 100644 (file)
@@ -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;