/* show_cpuinfo_cur_freq - current CPU frequency as detected by hardware  */
static ssize_t show_cpuinfo_cur_freq(struct cpufreq_policy *policy, char *buf)
/* show_cpuinfo_cur_freq - current CPU frequency as detected by hardware  */
static ssize_t show_cpuinfo_cur_freq(struct cpufreq_policy *policy, char *buf)
{
	unsigned int cur_freq = __cpufreq_get(policy->cpu);
	if (!cur_freq)
		return sprintf(buf, "<unknown>");
	return sprintf(buf, "%u\n", cur_freq);
}