History

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?

Ben Dooks (Codethink) committed 7 years ago

Commit edb44e81 parent 5c2d6a51 file · +1 −0Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/arch_topology.h+1−0
@@ -57,6 +57,7 @@ const struct cpumask *cpu_coregroup_mask(int cpu); · 56 unmodified lines
57void update_siblings_masks(unsigned int cpu);57void update_siblings_masks(unsigned int cpu);
58void remove_cpu_topology(unsigned int cpuid);58void remove_cpu_topology(unsigned int cpuid);
59void reset_cpu_topology(void);59void reset_cpu_topology(void);
60int parse_acpi_topology(void);
60#endif61#endif
61 62
62#endif /* _LINUX_ARCH_TOPOLOGY_H_ */63#endif /* _LINUX_ARCH_TOPOLOGY_H_ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t