aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/processor_idle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index b1b385692f46..d0035946b6b9 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -80,10 +80,13 @@ module_param(nocst, uint, 0000);
80static unsigned int latency_factor __read_mostly = 2; 80static unsigned int latency_factor __read_mostly = 2;
81module_param(latency_factor, uint, 0644); 81module_param(latency_factor, uint, 0644);
82 82
83#ifdef CONFIG_ACPI_PROCFS
83static u64 us_to_pm_timer_ticks(s64 t) 84static u64 us_to_pm_timer_ticks(s64 t)
84{ 85{
85 return div64_u64(t * PM_TIMER_FREQUENCY, 1000000); 86 return div64_u64(t * PM_TIMER_FREQUENCY, 1000000);
86} 87}
88#endif
89
87/* 90/*
88 * IBM ThinkPad R40e crashes mysteriously when going into C2 or C3. 91 * IBM ThinkPad R40e crashes mysteriously when going into C2 or C3.
89 * For now disable this. Probably a bug somewhere else. 92 * For now disable this. Probably a bug somewhere else.