Commit edb44e84 authored by Ben Dooks (Codethink)'s avatar Ben Dooks (Codethink) Committed by Greg Kroah-Hartman

cpu-topology: declare parse_acpi_topology in <linux/arch_topology.h>

The parse_acpi_topology() is not declared anywhere which
causes the following sparse warning:

drivers/base/arch_topology.c:522:19: warning: symbol 'parse_acpi_topology' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Acked-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20191022084323.13594-1-ben.dooks@codethink.co.ukSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5c2d6a52
...@@ -57,6 +57,7 @@ const struct cpumask *cpu_coregroup_mask(int cpu); ...@@ -57,6 +57,7 @@ const struct cpumask *cpu_coregroup_mask(int cpu);
void update_siblings_masks(unsigned int cpu); void update_siblings_masks(unsigned int cpu);
void remove_cpu_topology(unsigned int cpuid); void remove_cpu_topology(unsigned int cpuid);
void reset_cpu_topology(void); void reset_cpu_topology(void);
int parse_acpi_topology(void);
#endif #endif
#endif /* _LINUX_ARCH_TOPOLOGY_H_ */ #endif /* _LINUX_ARCH_TOPOLOGY_H_ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment