2017-05-31 10:59:30 -06:00
|
|
|
/*
|
|
|
|
* include/linux/arch_topology.h - arch specific cpu topology information
|
|
|
|
*/
|
|
|
|
#ifndef _LINUX_ARCH_TOPOLOGY_H_
|
|
|
|
#define _LINUX_ARCH_TOPOLOGY_H_
|
|
|
|
|
2017-06-23 03:25:32 -06:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2017-05-31 10:59:31 -06:00
|
|
|
void topology_normalize_cpu_scale(void);
|
2017-05-31 10:59:30 -06:00
|
|
|
|
|
|
|
struct device_node;
|
2017-06-23 03:25:32 -06:00
|
|
|
bool topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu);
|
2017-05-31 10:59:30 -06:00
|
|
|
|
|
|
|
struct sched_domain;
|
2017-05-31 10:59:31 -06:00
|
|
|
unsigned long topology_get_cpu_scale(struct sched_domain *sd, int cpu);
|
2017-05-31 10:59:30 -06:00
|
|
|
|
2017-05-31 10:59:31 -06:00
|
|
|
void topology_set_cpu_scale(unsigned int cpu, unsigned long capacity);
|
2017-05-31 10:59:30 -06:00
|
|
|
|
|
|
|
#endif /* _LINUX_ARCH_TOPOLOGY_H_ */
|