diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2012-07-25 15:39:26 +0200 |
---|---|---|
committer | Steve Capper <steve.capper@linaro.org> | 2013-06-04 17:52:38 +0200 |
commit | 8d962507007357d6fbbcbdd1647faa389a9aed6d (patch) | |
tree | 019135b49067394cfd3c002d4900aba91089f66f /arch/arm/include/asm/pgtable.h | |
parent | ARM: mm: HugeTLB support for LPAE systems. (diff) | |
download | linux-8d962507007357d6fbbcbdd1647faa389a9aed6d.tar.xz linux-8d962507007357d6fbbcbdd1647faa389a9aed6d.zip |
ARM: mm: Transparent huge page support for LPAE systems.
The patch adds support for THP (transparent huge pages) to LPAE
systems. When this feature is enabled, the kernel tries to map
anonymous pages as 2MB sections where possible.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
[steve.capper@linaro.org: symbolic constants used, value of
PMD_SECT_SPLITTING adjusted, tlbflush.h included in pgtable.h,
added PROT_NONE support.]
Signed-off-by: Steve Capper <steve.capper@linaro.org>
Reviewed-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/include/asm/pgtable.h')
-rw-r--r-- | arch/arm/include/asm/pgtable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/pgtable.h b/arch/arm/include/asm/pgtable.h index 9bcd262a9008..eaedce7b7e3a 100644 --- a/arch/arm/include/asm/pgtable.h +++ b/arch/arm/include/asm/pgtable.h @@ -24,6 +24,9 @@ #include <asm/memory.h> #include <asm/pgtable-hwdef.h> + +#include <asm/tlbflush.h> + #ifdef CONFIG_ARM_LPAE #include <asm/pgtable-3level.h> #else |