diff options
author | 2016-06-17 11:40:36 +0530 | |
---|---|---|
committer | 2016-06-17 19:50:55 +1000 | |
commit | b23d9c5b9c83c05e013aa52460f12a8365062cf4 (patch) | |
tree | 4168138d955040013dbe4a053c8559324415f002 /scripts/gdb/linux/utils.py | |
parent | powerpc/mm/hash: Don't add memory coherence if cache inhibited is set (diff) | |
download | linux-rng-b23d9c5b9c83c05e013aa52460f12a8365062cf4.tar.xz linux-rng-b23d9c5b9c83c05e013aa52460f12a8365062cf4.zip |
powerpc/mm/radix: Update Radix tree size as per ISA 3.0
ISA 3.0 updated it to be encoded as Radix tree size = 2^(RTS + 31). We
have it encoded as 2^(RTS + 28). Add a helper with the correct encoding
and use it instead of opencoding.
Fixes: 2bfd65e45e87 ("powerpc/mm/radix: Add radix callbacks for early init routines")
Reviewed-by: Balbir Singh <bsingharora@gmail.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions