[PATCH] Add support for type argument in PAL_GET_PSTATE
commit17e77b1cc31454908aa286bb1db3c611295ce25c
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Fri, 1 Dec 2006 23:28:14 +0000 (1 15:28 -0800)
committerTony Luck <tony.luck@intel.com>
Thu, 7 Dec 2006 19:21:55 +0000 (7 11:21 -0800)
tree8d4cae677dfec84d4f41a93b8758bad5b1b8761f
parent6dbfc19b7ea93f94f1efabaae71a921b49d8cae2
[PATCH] Add support for type argument in PAL_GET_PSTATE

PAL_GET_PSTATE accepts a type argument to return different kinds of
frequency information.
Refer: Intel Itanium®Architecture Software Developer's Manual -
Volume 2: System Architecture, Revision 2.2
(http://developer.intel.com/design/itanium/manuals/245318.htm)

Add the support for type argument and use Instantaneous frequency
in the acpi driver.

Also fix a bug, where in return value of PAL_GET_PSTATE was getting compared
with 'control' bits instead of 'status' bits.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/cpufreq/acpi-cpufreq.c
include/asm-ia64/pal.h