Alex Williamson 182fdd225d [IA64] Fix processor_get_freq
The core cpufreq code doesn't appear to understand returning -EAGAIN
for the get() function of the cpufreq_driver.  If PAL_GET_PSTATE returns
-1, such as when running on Xen, scaling_cur_freq is happy to return
4294967285 kHz (ie. (unsigned)-11).  The other drivers appear to return
0 for a failure, and doing so gives me the max frequency from
scaling_cur_frequency and "<unknown>" from cpuinfo_cur_frequency.  I
believe that's the desired behavior.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
2007-08-15 13:20:38 -07:00
..
2007-08-15 13:20:38 -07:00
2007-05-11 05:38:25 -04:00
2005-04-16 15:20:36 -07:00
2007-07-17 10:22:59 -07:00
2007-07-19 13:48:00 -07:00
2007-05-10 09:35:30 -07:00
2006-06-21 11:19:22 -07:00
2006-06-21 11:19:22 -07:00
2005-04-16 15:20:36 -07:00
2006-07-31 13:28:43 -07:00
2007-07-09 13:37:44 -07:00
2007-07-25 13:08:26 -07:00
2007-07-29 17:09:29 -07:00
2007-05-11 14:55:43 -07:00
2006-12-12 12:00:55 -08:00
2007-05-11 14:55:43 -07:00
2006-09-26 14:44:37 -07:00
2007-08-13 13:22:45 -07:00
2007-05-11 14:55:43 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-07 10:48:19 -08:00
2007-07-31 15:39:38 -07:00
2007-05-11 14:55:43 -07:00
2007-05-11 14:55:43 -07:00
2005-04-16 15:20:36 -07:00
2007-07-30 16:28:59 -07:00
2007-05-08 14:51:59 -07:00
2007-07-25 13:08:26 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-06-26 13:33:10 -07:00