aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks (Codethink) <[email protected]>2019-10-22 08:43:23 +0000
committerGreg Kroah-Hartman <[email protected]>2019-11-14 04:31:00 +0000
commitedb44e8461cfb9da8fd7a60d1ded2912a01100be (patch)
treea58d99c835fdc84c51992caf607c8d6283994fe9
parentcrypto: hisilicon: no need to check return value of debugfs_create functions (diff)
downloadkernel-edb44e8461cfb9da8fd7a60d1ded2912a01100be.tar.gz
kernel-edb44e8461cfb9da8fd7a60d1ded2912a01100be.zip
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: Ben Dooks (Codethink) <[email protected]> Acked-by: Sudeep Holla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--include/linux/arch_topology.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/arch_topology.h b/include/linux/arch_topology.h
index 42f2b5126094..3015ecbb90b1 100644
--- a/include/linux/arch_topology.h
+++ b/include/linux/arch_topology.h
@@ -57,6 +57,7 @@ const struct cpumask *cpu_coregroup_mask(int cpu);
void update_siblings_masks(unsigned int cpu);
void remove_cpu_topology(unsigned int cpuid);
void reset_cpu_topology(void);
+int parse_acpi_topology(void);
#endif
#endif /* _LINUX_ARCH_TOPOLOGY_H_ */