cpufreq: Add special-purpose fast-switching callback for drivers
[linux-2.6-microblaze.git] / include / linux / sched / cpufreq.h
index 3ed5aa1..6205578 100644 (file)
@@ -28,6 +28,11 @@ static inline unsigned long map_util_freq(unsigned long util,
 {
        return (freq + (freq >> 2)) * util / cap;
 }
+
+static inline unsigned long map_util_perf(unsigned long util)
+{
+       return util + (util >> 2);
+}
 #endif /* CONFIG_CPU_FREQ */
 
 #endif /* _LINUX_SCHED_CPUFREQ_H */