diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2017-03-17 16:02:35 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-03-17 16:10:58 +1100 |
commit | 8971e1c79d3f6c9a5e6f7a65c50c41f434a4dae6 (patch) | |
tree | dcdab00a415a31400f3eca1e2eabc6e27557921a /drivers/cpufreq/longrun.c | |
parent | f717629c7f834ab2efa05c7dbf0826f1d7c32ade (diff) | |
download | linux-8971e1c79d3f6c9a5e6f7a65c50c41f434a4dae6.tar.bz2 |
powerpc/pseries: Don't give a warning when HPT resizing isn't available
As of commit 438cc81a41e8 ("powerpc/pseries: Automatically resize HPT
for memory hot add/remove"), when running on the pseries platform, we
always attempt to use the PAPR extension to resize the hashed page
table (HPT) when we add or remove memory.
This is fine, but when the extension is not available we'll give a
harmless, but scary warning. Instead check if the firmware supports HPT
resizing before populating the mmu_hash_ops.resize_hpt pointer.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/cpufreq/longrun.c')
0 files changed, 0 insertions, 0 deletions