Merge branch 'pm-cpufreq'
[muen/linux.git] / arch / arm64 / include / asm / topology.h
index b3202284568b2e86708b6bc59800053995aa739b..c4f2d50491eb113fad8894b6df20cca4083e0858 100644 (file)
@@ -33,6 +33,14 @@ int pcibus_to_node(struct pci_bus *bus);
 
 #endif /* CONFIG_NUMA */
 
+#include <linux/arch_topology.h>
+
+/* Replace task scheduler's default frequency-invariant accounting */
+#define arch_scale_freq_capacity topology_get_freq_scale
+
+/* Replace task scheduler's default cpu-invariant accounting */
+#define arch_scale_cpu_capacity topology_get_cpu_scale
+
 #include <asm-generic/topology.h>
 
 #endif /* _ASM_ARM_TOPOLOGY_H */