diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2012-07-25 14:39:26 +0100 |
---|---|---|
committer | Steve Capper <steve.capper@linaro.org> | 2013-06-04 16:52:38 +0100 |
commit | 8d962507007357d6fbbcbdd1647faa389a9aed6d (patch) | |
tree | 019135b49067394cfd3c002d4900aba91089f66f /arch/arm/mm/fsr-3level.c | |
parent | 1355e2a6eb88f04d76125c057dc5fca64d4b6a9e (diff) | |
download | op-kernel-dev-8d962507007357d6fbbcbdd1647faa389a9aed6d.zip op-kernel-dev-8d962507007357d6fbbcbdd1647faa389a9aed6d.tar.gz |
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/mm/fsr-3level.c')
-rw-r--r-- | arch/arm/mm/fsr-3level.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/fsr-3level.c b/arch/arm/mm/fsr-3level.c index e115fc7..ab4409a 100644 --- a/arch/arm/mm/fsr-3level.c +++ b/arch/arm/mm/fsr-3level.c @@ -9,7 +9,7 @@ static struct fsr_info fsr_info[] = { { do_page_fault, SIGSEGV, SEGV_MAPERR, "level 3 translation fault" }, { do_bad, SIGBUS, 0, "reserved access flag fault" }, { do_bad, SIGSEGV, SEGV_ACCERR, "level 1 access flag fault" }, - { do_bad, SIGSEGV, SEGV_ACCERR, "level 2 access flag fault" }, + { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 access flag fault" }, { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 3 access flag fault" }, { do_bad, SIGBUS, 0, "reserved permission fault" }, { do_bad, SIGSEGV, SEGV_ACCERR, "level 1 permission fault" }, |