]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 4 Apr 2017 15:49:57 +0000 (17:49 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Apr 2017 11:52:21 +0000 (13:52 +0200)
commit759f534e93ace6a94a3c0718611fcf70dd5f7809
treef5d71eb01aef9c31a47f61bd583dfbdd99af377d
parent33679a50370db9aa1a3f0cdf5f70c1c07236a4b2
CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()

It is pure mystery to me why we need to be on a specific CPU while
looking up a value in an array.
My best shot at this is that before commit d4019f0a92ab ("cpufreq: move
freq change notifications to cpufreq core") it was required to invoke
cpufreq_notify_transition() on a special CPU.

Since it looks like a waste, remove it.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: tglx@linutronix.de
Cc: linux-pm@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15888/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/cpufreq/loongson2_cpufreq.c