sparc32: use pgtable-nopud instead of 4level-fixup
32-bit version of sparc has three-level page tables and can use pgtable-nopud and folding of the upper layers. Replace usage of include/asm-generic/4level-fixup.h with include/asm-generic/pgtable-nopud.h and adjust page table manipulation macros and functions accordingly. Link: http://lkml.kernel.org/r/1572938135-31886-11-git-send-email-rppt@kernel.org Signed-off-by:Mike Rapoport <rppt@linux.ibm.com> Acked-by:
David S. Miller <davem@davemloft.net> Tested-by:
Anatoly Pugachev <matorola@gmail.com> Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Greentime Hu <green.hu@gmail.com> Cc: Greg Ungerer <gerg@linux-m68k.org> Cc: Helge Deller <deller@gmx.de> Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com> Cc: Jeff Dike <jdike@addtoit.com> Cc: "Kirill A. Shutemov" <kirill@shutemov.name> Cc: Mark Salter <msalter@redhat.com> Cc: Matt Turner <mattst88@gmail.com> Cc: Michal Simek <monstr@monstr.eu> Cc: Peter Rosin <peda@axentia.se> Cc: Richard Weinberger <richard@nod.at> Cc: Rolf Eike Beer <eike-kernel@sf-tec.de> Cc: Russell King <linux@armlinux.org.uk> Cc: Russell King <rmk+kernel@armlinux.org.uk> Cc: Sam Creasey <sammy@sammy.net> Cc: Vincent Chen <deanbo422@gmail.com> Cc: Vineet Gupta <Vineet.Gupta1@synopsys.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/sparc/include/asm/pgalloc_32.h 3 additions, 3 deletionsarch/sparc/include/asm/pgalloc_32.h
- arch/sparc/include/asm/pgtable_32.h 14 additions, 14 deletionsarch/sparc/include/asm/pgtable_32.h
- arch/sparc/mm/fault_32.c 9 additions, 2 deletionsarch/sparc/mm/fault_32.c
- arch/sparc/mm/highmem.c 5 additions, 1 deletionarch/sparc/mm/highmem.c
- arch/sparc/mm/io-unit.c 5 additions, 1 deletionarch/sparc/mm/io-unit.c
- arch/sparc/mm/iommu.c 5 additions, 1 deletionarch/sparc/mm/iommu.c
- arch/sparc/mm/srmmu.c 40 additions, 11 deletionsarch/sparc/mm/srmmu.c
Loading
Please register or sign in to comment