mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [merged] riscv-use-generic-pgprot_-macros-from-linux-pgtableh.patch removed from -mm tree
@ 2020-07-23 23:23 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-07-23 23:23 UTC (permalink / raw)
  To: mm-commits, palmerdabbelt, penberg, rientjes, rppt, thomas.lendacky


The patch titled
     Subject: riscv: use generic pgprot_* macros from <linux/pgtable.h>
has been removed from the -mm tree.  Its filename was
     riscv-use-generic-pgprot_-macros-from-linux-pgtableh.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Pekka Enberg <penberg@kernel.org>
Subject: riscv: use generic pgprot_* macros from <linux/pgtable.h>

The <linux/pgtable.h> header now defines generic pgprot_ macros also for
the no-MMU configuration, so let's use them.

Link: http://lkml.kernel.org/r/20200715053340.576300-2-penberg@gmail.com
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Cc: Palmer Dabbelt <palmerdabbelt@google.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/riscv/include/asm/mmio.h |    6 ------
 1 file changed, 6 deletions(-)

--- a/arch/riscv/include/asm/mmio.h~riscv-use-generic-pgprot_-macros-from-linux-pgtableh
+++ a/arch/riscv/include/asm/mmio.h
@@ -14,12 +14,6 @@
 #include <linux/types.h>
 #include <asm/mmiowb.h>
 
-#ifndef CONFIG_MMU
-#define pgprot_noncached(x)	(x)
-#define pgprot_writecombine(x)	(x)
-#define pgprot_device(x)	(x)
-#endif /* CONFIG_MMU */
-
 /* Generic IO read/write.  These perform native-endian accesses. */
 #define __raw_writeb __raw_writeb
 static inline void __raw_writeb(u8 val, volatile void __iomem *addr)
_

Patches currently in -mm which might be from penberg@kernel.org are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-23 23:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 23:23 [merged] riscv-use-generic-pgprot_-macros-from-linux-pgtableh.patch removed from -mm tree akpm

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).