powerpc/mm: Increase the slice range to 64TB
This patch makes the high psizes mask as an unsigned char array so that we can have more than 16TB. Currently we support upto 64TB Reviewed-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:

committed by
Benjamin Herrenschmidt

parent
67550080b8
commit
7aa0727f33
@@ -82,7 +82,11 @@ extern u64 ppc64_pft_size;
|
||||
|
||||
struct slice_mask {
|
||||
u16 low_slices;
|
||||
u16 high_slices;
|
||||
/*
|
||||
* This should be derived out of PGTABLE_RANGE. For the current
|
||||
* max 64TB, u64 should be ok.
|
||||
*/
|
||||
u64 high_slices;
|
||||
};
|
||||
|
||||
struct mm_struct;
|
||||
|
Reference in New Issue
Block a user