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)
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

Simple merge