linux-snps-arc.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARC: mm: drop stale define of __ARCH_USE_5LEVEL_HACK
@ 2019-12-09 15:31 Mike Rapoport
  2019-12-09 18:41 ` Vineet Gupta
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Rapoport @ 2019-12-09 15:31 UTC (permalink / raw)
  To: Vineet Gupta; +Cc: linux-snps-arc, linux-kernel, Mike Rapoport, Mike Rapoport

From: Mike Rapoport <rppt@linux.ibm.com>

Commit 6aae3425aa9c ("ARC: mm: remove __ARCH_USE_5LEVEL_HACK") make ARC
paging code 5-level compliant but left behind a stale define of
__ARCH_USE_5LEVEL_HACK in arch/arc/include/asm/hugepage.h.

Remove it.

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
---
 arch/arc/include/asm/hugepage.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arc/include/asm/hugepage.h b/arch/arc/include/asm/hugepage.h
index 9a74ce71a767..30ac40fed2c5 100644
--- a/arch/arc/include/asm/hugepage.h
+++ b/arch/arc/include/asm/hugepage.h
@@ -8,7 +8,6 @@
 #define _ASM_ARC_HUGEPAGE_H
 
 #include <linux/types.h>
-#define __ARCH_USE_5LEVEL_HACK
 #include <asm-generic/pgtable-nopmd.h>
 
 static inline pte_t pmd_pte(pmd_t pmd)
-- 
2.24.0


_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARC: mm: drop stale define of __ARCH_USE_5LEVEL_HACK
  2019-12-09 15:31 [PATCH] ARC: mm: drop stale define of __ARCH_USE_5LEVEL_HACK Mike Rapoport
@ 2019-12-09 18:41 ` Vineet Gupta
  0 siblings, 0 replies; 2+ messages in thread
From: Vineet Gupta @ 2019-12-09 18:41 UTC (permalink / raw)
  To: Mike Rapoport; +Cc: linux-snps-arc, linux-kernel, Mike Rapoport

On 12/9/19 7:31 AM, Mike Rapoport wrote:
> From: Mike Rapoport <rppt@linux.ibm.com>
> 
> Commit 6aae3425aa9c ("ARC: mm: remove __ARCH_USE_5LEVEL_HACK") make ARC
> paging code 5-level compliant but left behind a stale define of
> __ARCH_USE_5LEVEL_HACK in arch/arc/include/asm/hugepage.h.
> 
> Remove it.
> 
> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>

Indeed I missed it. Added to for-curr.

Thx,
-Vineet
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-09 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09 15:31 [PATCH] ARC: mm: drop stale define of __ARCH_USE_5LEVEL_HACK Mike Rapoport
2019-12-09 18:41 ` Vineet Gupta

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