[v4,03/13] c6x: use pgtable-nopud instead of 4level-fixup
diff mbox series

Message ID 1572938135-31886-4-git-send-email-rppt@kernel.org
State Not Applicable
Headers show
  • mm: remove __ARCH_HAS_4LEVEL_HACK
Related show

Commit Message

Mike Rapoport Nov. 5, 2019, 7:15 a.m. UTC
From: Mike Rapoport <rppt@linux.ibm.com>

c6x is a nommu architecture and does not require fixup for upper layers of
the page tables because it is already handled by the generic nommu

Replace usage of include/asm-generic/4level-fixup.h with

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

diff mbox series

diff --git a/arch/c6x/include/asm/pgtable.h b/arch/c6x/include/asm/pgtable.h
index 0b6919c..197c473 100644
--- a/arch/c6x/include/asm/pgtable.h
+++ b/arch/c6x/include/asm/pgtable.h
@@ -8,7 +8,7 @@ 
 #ifndef _ASM_C6X_PGTABLE_H
 #define _ASM_C6X_PGTABLE_H
-#include <asm-generic/4level-fixup.h>
+#include <asm-generic/pgtable-nopud.h>
 #include <asm/setup.h>
 #include <asm/page.h>