summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2017-05-24 10:15:19 +0200
committerThomas Gleixner <tglx@linutronix.de>2017-05-26 10:10:38 +0200
commit547efeadd42a3c75e41e33c0637cba100fc18289 (patch)
tree2f3e5155b620687560803ba1c252f8110e5ab51c /drivers/cpufreq/cpufreq.c
parentpadata: Avoid nested calls to cpus_read_lock() in pcrypt_init_padata() (diff)
downloadlinux-547efeadd42a3c75e41e33c0637cba100fc18289.tar.xz
linux-547efeadd42a3c75e41e33c0637cba100fc18289.zip
x86/mtrr: Remove get_online_cpus() from mtrr_save_state()
mtrr_save_state() is invoked from native_cpu_up() which is in the context of a CPU hotplug operation and therefor calling get_online_cpus() is pointless. While this works in the current get_online_cpus() implementation it prevents from converting the hotplug locking to percpu rwsems. Remove it. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Ingo Molnar <mingo@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/20170524081547.651378834@linutronix.de
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions