Skip to content

Commit edb44e8

Browse files
bjdooks-ctgregkh
authored andcommitted
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]>
1 parent 5c2d6a5 commit edb44e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/arch_topology.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const struct cpumask *cpu_coregroup_mask(int cpu);
5757
void update_siblings_masks(unsigned int cpu);
5858
void remove_cpu_topology(unsigned int cpuid);
5959
void reset_cpu_topology(void);
60+
int parse_acpi_topology(void);
6061
#endif
6162

6263
#endif /* _LINUX_ARCH_TOPOLOGY_H_ */

0 commit comments

Comments
 (0)