summaryrefslogtreecommitdiff
path: root/ether.conf
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2016-09-27 15:04:41 +0800
committerTobias Klauser <tklauser@distanz.ch>2016-09-29 09:29:08 +0200
commit7007975949f5177fbf2514633cc44ba0ac4712c5 (patch)
tree9a0e58e8d0c796ca83f4edfb18fd3a312f23f022 /ether.conf
parent4749393697360d02b2612673473163214ff99be1 (diff)
all: fix build on CentOS 6 by checking presence of several macros
Protect usage of macros not present in pre-3.x kernels. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ether.conf')
0 files changed, 0 insertions, 0 deletions
residency of the next available state. This pattern is picked up by get_typical_interval() in the menu governor and therefore expected_interval in menu_select() is frequently less than the target_residency of any state other than snooze. Due to this we are entering snooze at a higher rate, thereby affecting the single thread performance. Fix this by using more precise division via ktime_us_delta(). Fixes: e93e59ce5b85 "cpuidle: Replace ktime_get() with local_clock()" Reported-by: Anton Blanchard <anton@samba.org> Bisected-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat