ACPI: Eliminate us to pm ticks conversion in common path
authorVenkatesh Pallipadi <venki@google.com>
Wed, 2 Jun 2010 17:01:09 +0000 (10:01 -0700)
committerLen Brown <len.brown@intel.com>
Fri, 4 Jun 2010 19:22:28 +0000 (15:22 -0400)
commitbceefad59ab66d1b1a815a1738744ea013da966e
tree4cd5406c4cf77ac93bcf4fc764105be938628d51
parent157317ba3ec3e5a4d9683b8d24ba40b4f8f3296b
ACPI: Eliminate us to pm ticks conversion in common path

acpi_enter_[simple|bm] routines does us to pm tick conversion on every
idle wakeup and the value is only used in /proc/acpi display. We can
store the time in us and convert it into pm ticks before printing instead and
avoid the conversion in the common path.

Signed-off-by: Venkatesh Pallipadi <venki@google.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_idle.c