Skip to content

Commit d92b5cc

Browse files
chleroympe
authored andcommitted
powerpc/64e: Define mmu_pte_psize static
mmu_pte_psize is only used in the tlb_64e.c, define it static. Fixes: 25d21ad ("powerpc: Add TLB management code for 64-bit Book3E") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202408011256.1O99IB0s-lkp@intel.com/ Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/beb30d280eaa5d857c38a0834b147dffd6b28aa9.1724157750.git.christophe.leroy@csgroup.eu
1 parent 227bbaa commit d92b5cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/powerpc/mm/nohash/tlb_64e.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* though this will probably be made common with other nohash
3434
* implementations at some point
3535
*/
36-
int mmu_pte_psize; /* Page size used for PTE pages */
36+
static int mmu_pte_psize; /* Page size used for PTE pages */
3737
int mmu_vmemmap_psize; /* Page size used for the virtual mem map */
3838
int book3e_htw_mode; /* HW tablewalk? Value is PPC_HTW_* */
3939
unsigned long linear_map_top; /* Top of linear mapping */

0 commit comments

Comments
 (0)