diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2016-12-20 16:49:01 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2017-01-31 21:59:34 +1100 |
commit | 3d089f84c6f9b7b0eda993142d73961a44b553d2 (patch) | |
tree | 12cbc4acb07a6b979e0869785c10b7461324d5c8 /lib/sort.c | |
parent | 3f9d4f5a5f35e402e91bedf0c15e29cef187a29d (diff) |
KVM: PPC: Book3S HV: Don't store values derivable from HPT order
Currently the kvm_hpt_info structure stores the hashed page table's order,
and also the number of HPTEs it contains and a mask for its size. The
last two can be easily derived from the order, so remove them and just
calculate them as necessary with a couple of helper inlines.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions