ARC: mm: drop stale define of __ARCH_USE_5LEVEL_HACK
diff mbox series

Message ID 20191209153135.22475-1-rppt@kernel.org
State New
Headers show
Series
  • ARC: mm: drop stale define of __ARCH_USE_5LEVEL_HACK
Related show

Commit Message

Mike Rapoport Dec. 9, 2019, 3:31 p.m. UTC
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(-)

Comments

Vineet Gupta Dec. 9, 2019, 6:41 p.m. UTC | #1
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

Patch
diff mbox series

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)