diff options
author | Venkatesh Pallipadi <venki@google.com> | 2010-04-22 16:48:33 -0700 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-05-28 15:00:55 -0400 |
commit | 2da513f582a96c053aacc2c92873978d2ea7abff (patch) | |
tree | 57e9d73800950668523cb0b9117d7dbc168e1580 /kernel/user.c | |
parent | 34a18d6fe5430184e4ca96eeb074ee671d89fe7b (diff) |
ACPI: Minor cleanup eliminating redundant PMTIMER_TICKS to NS conversion
acpi_enter_[simple,bm] does
idle timing in ns, convert it to timeval, then to us, then to
pmtimer_ticks and then back to ns.
This patch changes things to
idle timing in ns, convert it to us, and then to pmtimer_ticks.
Just saves an imul along this path, but makes the code cleaner.
Signed-off-by: Venkatesh Pallipadi <venki@google.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions