summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/page.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2014-07-15 19:35:38 +0400
committerCatalin Marinas <catalin.marinas@arm.com>2014-07-23 18:27:56 +0400
commit0f1740252bea82c972e432f4d0fb76e974d53bd3 (patch)
tree498910e4c5c4c6892e07f05a6c498f8609642a81 /arch/arm64/include/asm/page.h
parent6b4fee241dd7c4b11cae4432bfa899a386d71f26 (diff)
downloadlinux-0f1740252bea82c972e432f4d0fb76e974d53bd3.tar.xz
arm64: Remove asm/pgtable-*level-types.h files
The macros and typedefs in these files are already duplicated, so just use a single pgtable-types.h file with the corresponding #ifdefs. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Jungseok Lee <jungseoklee85@gmail.com>
Diffstat (limited to 'arch/arm64/include/asm/page.h')
-rw-r--r--arch/arm64/include/asm/page.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm64/include/asm/page.h b/arch/arm64/include/asm/page.h
index a998ff478777..2502754d1921 100644
--- a/arch/arm64/include/asm/page.h
+++ b/arch/arm64/include/asm/page.h
@@ -47,13 +47,7 @@
#ifndef __ASSEMBLY__
-#if CONFIG_ARM64_PGTABLE_LEVELS == 2
-#include <asm/pgtable-2level-types.h>
-#elif CONFIG_ARM64_PGTABLE_LEVELS == 3
-#include <asm/pgtable-3level-types.h>
-#else
-#include <asm/pgtable-4level-types.h>
-#endif
+#include <asm/pgtable-types.h>
extern void __cpu_clear_user_page(void *p, unsigned long user);
extern void __cpu_copy_user_page(void *to, const void *from,