summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-07-13 22:36:36 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2018-07-13 22:36:36 +0200
commit3951dbf232e8500bef27f77437fd5d04b67cc6d1 (patch)
tree23ee5392907aba85214040a836fcc09d00940609 /kernel
parentMerge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ke... (diff)
parentclocksource: arm_arch_timer: Set arch_mem_timer cpumask to cpu_possible_mask (diff)
downloadlinux-3951dbf232e8500bef27f77437fd5d04b67cc6d1.tar.xz
linux-3951dbf232e8500bef27f77437fd5d04b67cc6d1.zip
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull timer fixes from Ingo Molnar: "A clocksource driver fix and a revert" * 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: clocksource: arm_arch_timer: Set arch_mem_timer cpumask to cpu_possible_mask Revert "tick: Prefer a lower rating device only if it's CPU local device"
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/tick-common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c
index b7005dd21ec1..14de3727b18e 100644
--- a/kernel/time/tick-common.c
+++ b/kernel/time/tick-common.c
@@ -277,8 +277,7 @@ static bool tick_check_preferred(struct clock_event_device *curdev,
*/
return !curdev ||
newdev->rating > curdev->rating ||
- (!cpumask_equal(curdev->cpumask, newdev->cpumask) &&
- !tick_check_percpu(curdev, newdev, smp_processor_id()));
+ !cpumask_equal(curdev->cpumask, newdev->cpumask);
}
/*