projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: Definitions for 3-level page table layout
[firefly-linux-kernel-4.4.55.git]
/
arch
/
sh
/
include
/
asm
/
pgtable.h
diff --git
a/arch/sh/include/asm/pgtable.h
b/arch/sh/include/asm/pgtable.h
index 9a0f66c1134cb63542efdf14699ca78235f231cd..9effcc3b0d10a6f5629ffbc726bbc6ca6c7cb7d8 100644
(file)
--- a/
arch/sh/include/asm/pgtable.h
+++ b/
arch/sh/include/asm/pgtable.h
@@
-12,7
+12,11
@@
#ifndef __ASM_SH_PGTABLE_H
#define __ASM_SH_PGTABLE_H
+#ifdef CONFIG_PGTABLE_LEVELS_3
+#include <asm/pgtable_pmd.h>
+#else
#include <asm/pgtable_nopmd.h>
+#endif
#include <asm/page.h>
#ifndef __ASSEMBLY__