commit | 349524bc0da698ec77f2057cf4a4948eb6349265 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Jan 10 17:10:12 2018 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Jan 11 01:36:50 2018 +1100 |
tree | 69dba6b04c1a4fe9202a1bc5ef59cc664fd520be | |
parent | 2248fade965a5f1ba2a8e6e63f84df696b2d2780 [diff] |
powerpc: Don't preempt_disable() in show_cpuinfo() This causes warnings from cpufreq mutex code. This is also rather unnecessary and ineffective. If we really want to prevent concurrent unplug, we could take the unplug read lock but I don't see this being critical. Fixes: cd77b5ce208c ("powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo") Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>