From: Mike Rapoport <rppt@kernel.org>
To: linux-mm@kvack.org
Cc: Andrew Morton <akpm@linux-foundation.org>,
Anton Ivanov <anton.ivanov@cambridgegreys.com>,
Arnd Bergmann <arnd@arndb.de>,
"David S. Miller" <davem@davemloft.net>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Greentime Hu <green.hu@gmail.com>,
Greg Ungerer <gerg@linux-m68k.org>, Helge Deller <deller@gmx.de>,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
Jeff Dike <jdike@addtoit.com>,
"Kirill A. Shutemov" <kirill@shutemov.name>,
Linus Torvalds <torvalds@linux-foundation.org>,
Mark Salter <msalter@redhat.com>,
Matt Turner <mattst88@gmail.com>, Michal Simek <monstr@monstr.eu>,
Peter Rosin <peda@axentia.se>,
Richard Weinberger <richard@nod.at>,
Rolf Eike Beer <eike-kernel@sf-tec.de>,
Russell King <linux@armlinux.org.uk>,
Sam Creasey <sammy@sammy.net>, Vincent Chen <deanbo422@gmail.com>,
Vineet Gupta <Vineet.Gupta1@synopsys.com>,
Mike Rapoport <rppt@kernel.org>,
linux-alpha@vger.kernel.org, linux-arch@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-c6x-dev@linux-c6x.org, linux-kernel@vger.kernel.org,
linux-m68k@lists.linux-m68k.org, linux-parisc@vger.kernel.org,
linux-um@lists.infradead.org, sparclinux@vger.kernel.org,
Mike Rapoport <rppt@linux.ibm.com>
Subject: [PATCH v2 02/13] arm: nommu: use pgtable-nopud instead of 4level-fixup
Date: Fri, 1 Nov 2019 10:39:33 +0200 [thread overview]
Message-ID: <1572597584-6390-3-git-send-email-rppt@kernel.org> (raw)
In-Reply-To: <1572597584-6390-1-git-send-email-rppt@kernel.org>
From: Mike Rapoport <rppt@linux.ibm.com>
The generic nommu implementation of page table manipulation takes care of
folding of the upper levels and does not require fixups.
Simply replace of include/asm-generic/4level-fixup.h with
include/asm-generic/pgtable-nopud.h.
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
---
arch/arm/include/asm/pgtable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h
index 3ae120c..eabcb48 100644
--- a/arch/arm/include/asm/pgtable.h
+++ b/arch/arm/include/asm/pgtable.h
@@ -12,7 +12,7 @@
#ifndef CONFIG_MMU
-#include <asm-generic/4level-fixup.h>
+#include <asm-generic/pgtable-nopud.h>
#include <asm/pgtable-nommu.h>
#else
--
2.7.4
next prev parent reply other threads:[~2019-11-01 8:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-01 8:39 [PATCH v2 00/13] mm: remove __ARCH_HAS_4LEVEL_HACK Mike Rapoport
2019-11-01 8:39 ` [PATCH v2 01/13] alpha: use pgtable-nop4d instead of 4level-fixup Mike Rapoport
2019-11-01 9:11 ` Kirill A. Shutemov
2019-11-01 21:59 ` Mike Rapoport
2019-11-01 8:39 ` Mike Rapoport [this message]
2019-11-01 8:39 ` [PATCH v2 03/13] c6x: use pgtable-nopud " Mike Rapoport
2019-11-01 8:39 ` [PATCH v2 04/13] m68k: nommu: " Mike Rapoport
2019-11-01 8:39 ` [PATCH v2 05/13] m68k: mm: use pgtable-nopXd " Mike Rapoport
2019-11-01 8:39 ` [PATCH v2 06/13] microblaze: use pgtable-nopmd " Mike Rapoport
2019-11-01 8:39 ` [PATCH v2 07/13] nds32: " Mike Rapoport
2019-11-01 8:39 ` [PATCH v2 08/13] parisc: use pgtable-nopXd " Mike Rapoport
2019-11-01 8:39 ` [PATCH v2 09/13] parisc/hugetlb: " Mike Rapoport
2019-11-01 8:39 ` [PATCH v2 10/13] sparc32: use pgtable-nopud " Mike Rapoport
2019-11-01 8:39 ` [PATCH v2 11/13] um: remove unused pxx_offset_proc() and addr_pte() functions Mike Rapoport
2019-11-01 9:12 ` Richard Weinberger
2019-11-01 8:39 ` [PATCH v2 12/13] um: add support for folded p4d page tables Mike Rapoport
2019-11-01 9:20 ` Richard Weinberger
2019-11-01 8:39 ` [PATCH v2 13/13] mm: remove __ARCH_HAS_4LEVEL_HACK and include/asm-generic/4level-fixup.h Mike Rapoport
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1572597584-6390-3-git-send-email-rppt@kernel.org \
--to=rppt@kernel.org \
--cc=James.Bottomley@HansenPartnership.com \
--cc=Vineet.Gupta1@synopsys.com \
--cc=akpm@linux-foundation.org \
--cc=anton.ivanov@cambridgegreys.com \
--cc=arnd@arndb.de \
--cc=davem@davemloft.net \
--cc=deanbo422@gmail.com \
--cc=deller@gmx.de \
--cc=eike-kernel@sf-tec.de \
--cc=geert@linux-m68k.org \
--cc=gerg@linux-m68k.org \
--cc=green.hu@gmail.com \
--cc=jdike@addtoit.com \
--cc=kirill@shutemov.name \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-c6x-dev@linux-c6x.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux-mm@kvack.org \
--cc=linux-parisc@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=mattst88@gmail.com \
--cc=monstr@monstr.eu \
--cc=msalter@redhat.com \
--cc=peda@axentia.se \
--cc=richard@nod.at \
--cc=rppt@linux.ibm.com \
--cc=sammy@sammy.net \
--cc=sparclinux@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).