Skip to content

Commit 8ca7a82

Browse files
Ian Munsiempe
authored andcommitted
powerpc/mm: Export mmu_kernel_ssize and mmu_linear_psize
Export mmu_kernel_ssize and mmu_linear_psize. These are needed by the cxl driver which has it's own MMU. To setup the MMU cxl needs access to these. Signed-off-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent b0345bb commit 8ca7a82

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎arch/powerpc/mm/hash_utils_64.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,15 @@ unsigned long htab_size_bytes;
9999
unsigned long htab_hash_mask;
100100
EXPORT_SYMBOL_GPL(htab_hash_mask);
101101
int mmu_linear_psize = MMU_PAGE_4K;
102+
EXPORT_SYMBOL_GPL(mmu_linear_psize);
102103
int mmu_virtual_psize = MMU_PAGE_4K;
103104
int mmu_vmalloc_psize = MMU_PAGE_4K;
104105
#ifdef CONFIG_SPARSEMEM_VMEMMAP
105106
int mmu_vmemmap_psize = MMU_PAGE_4K;
106107
#endif
107108
int mmu_io_psize = MMU_PAGE_4K;
108109
int mmu_kernel_ssize = MMU_SEGSIZE_256M;
110+
EXPORT_SYMBOL_GPL(mmu_kernel_ssize);
109111
int mmu_highuser_ssize = MMU_SEGSIZE_256M;
110112
u16 mmu_slb_size = 64;
111113
EXPORT_SYMBOL_GPL(mmu_slb_size);

0 commit comments

Comments
 (0)