diff options
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 2e8c27d48f2..6b38a6b43ce 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -1022,7 +1022,7 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev, | |||
1022 | spin_unlock(&c3_lock); | 1022 | spin_unlock(&c3_lock); |
1023 | } | 1023 | } |
1024 | kt2 = ktime_get_real(); | 1024 | kt2 = ktime_get_real(); |
1025 | idle_time_ns = ktime_to_us(ktime_sub(kt2, kt1)); | 1025 | idle_time_ns = ktime_to_ns(ktime_sub(kt2, kt1)); |
1026 | idle_time = idle_time_ns; | 1026 | idle_time = idle_time_ns; |
1027 | do_div(idle_time, NSEC_PER_USEC); | 1027 | do_div(idle_time, NSEC_PER_USEC); |
1028 | 1028 | ||