Skip to content

Commit bbac30e

Browse files
committed
Merge branch 'misc' into release
2 parents 4a973f2 + 6c9c0fd commit bbac30e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/acpi/processor_idle.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,13 @@ module_param(bm_check_disable, uint, 0000);
8282
static unsigned int latency_factor __read_mostly = 2;
8383
module_param(latency_factor, uint, 0644);
8484

85+
#ifdef CONFIG_ACPI_PROCFS
8586
static u64 us_to_pm_timer_ticks(s64 t)
8687
{
8788
return div64_u64(t * PM_TIMER_FREQUENCY, 1000000);
8889
}
90+
#endif
91+
8992
/*
9093
* IBM ThinkPad R40e crashes mysteriously when going into C2 or C3.
9194
* For now disable this. Probably a bug somewhere else.

0 commit comments

Comments
 (0)