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