summaryrefslogtreecommitdiffstats
path: root/lib/xz
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-04-15 10:54:37 +0530
committerThomas Gleixner <tglx@linutronix.de>2014-04-15 20:26:44 +0200
commit521c42990e9d561ed5ed9f501f07639d0512b3c9 (patch)
tree4ca118a3032bab6767d670c5c06226e99214c356 /lib/xz
parent55101e2d6ce1c780f6ee8fee5f37306971aac6cd (diff)
downloadop-kernel-dev-521c42990e9d561ed5ed9f501f07639d0512b3c9.zip
op-kernel-dev-521c42990e9d561ed5ed9f501f07639d0512b3c9.tar.gz
tick-common: Fix wrong check in tick_check_replacement()
tick_check_replacement() returns if a replacement of clock_event_device is possible or not. It does this as the first check: if (tick_check_percpu(curdev, newdev, smp_processor_id())) return false; Thats wrong. tick_check_percpu() returns true when the device is useable. Check for false instead. [ tglx: Massaged changelog ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Cc: <stable@vger.kernel.org> # v3.11+ Cc: linaro-kernel@lists.linaro.org Cc: fweisbec@gmail.com Cc: Arvind.Chauhan@arm.com Cc: linaro-networking@linaro.org Link: http://lkml.kernel.org/r/486a02efe0246635aaba786e24b42d316438bf3b.1397537987.git.viresh.kumar@linaro.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib/xz')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud