]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/linux/arch_topology.h
UBUNTU: SAUCE: LSM stacking: procfs: add smack subdir to attrs
[mirror_ubuntu-artful-kernel.git] / include / linux / arch_topology.h
CommitLineData
615ffd63
JL
1/*
2 * include/linux/arch_topology.h - arch specific cpu topology information
3 */
4#ifndef _LINUX_ARCH_TOPOLOGY_H_
5#define _LINUX_ARCH_TOPOLOGY_H_
6
4ca4f26a 7void topology_normalize_cpu_scale(void);
615ffd63
JL
8
9struct device_node;
4ca4f26a 10int topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu);
615ffd63
JL
11
12struct sched_domain;
4ca4f26a 13unsigned long topology_get_cpu_scale(struct sched_domain *sd, int cpu);
615ffd63 14
4ca4f26a 15void topology_set_cpu_scale(unsigned int cpu, unsigned long capacity);
615ffd63
JL
16
17#endif /* _LINUX_ARCH_TOPOLOGY_H_ */