aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/generic.c
diff options
context:
space:
mode:
authorDoug Smythies <[email protected]>2019-01-30 16:28:22 +0000
committerRafael J. Wysocki <[email protected]>2019-01-30 21:57:42 +0000
commit1617971c6616c87185cbc78fa1a86dfc70dd16b6 (patch)
tree6d4193af95c5cb6703ecef6f140d7d3053983d36 /fs/proc/generic.c
parentLinux 5.0-rc4 (diff)
downloadkernel-1617971c6616c87185cbc78fa1a86dfc70dd16b6.tar.gz
kernel-1617971c6616c87185cbc78fa1a86dfc70dd16b6.zip
cpuidle: poll_state: Fix default time limit
The default time is declared in units of microsecnds, but is used as nanoseconds, resulting in significant accounting errors for idle state 0 time when all idle states deeper than 0 are disabled. Under these unusual conditions, we don't really care about the poll time limit anyhow. Fixes: 800fb34a99ce ("cpuidle: poll_state: Disregard disable idle states") Signed-off-by: Doug Smythies <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'fs/proc/generic.c')
0 files changed, 0 insertions, 0 deletions