summaryrefslogtreecommitdiff
path: root/arch/arm/mm/fsr-3level.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2012-07-25 17:32:38 +0400
committerSteve Capper <steve.capper@linaro.org>2013-06-04 19:52:37 +0400
commit1355e2a6eb88f04d76125c057dc5fca64d4b6a9e (patch)
treeaf2c21aba209583f46e2424aec2e5d70b80c7965 /arch/arm/mm/fsr-3level.c
parent0b19f93351dd68cb68a1a5b2d74e13d2ddfcfc64 (diff)
downloadlinux-1355e2a6eb88f04d76125c057dc5fca64d4b6a9e.tar.xz
ARM: mm: HugeTLB support for LPAE systems.
This patch adds support for hugetlbfs based on the x86 implementation. It allows mapping of 2MB sections (see Documentation/vm/hugetlbpage.txt for usage). The 64K pages configuration is not supported (section size is 512MB in this case). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> [steve.capper@linaro.org: symbolic constants replace numbers in places. Split up into multiple files, to simplify future non-LPAE support, removed huge_pmd_share code, as this is very rarely executed, 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/fsr-3level.c b/arch/arm/mm/fsr-3level.c
index 05a4e9431836..e115fc7a69bd 100644
--- a/arch/arm/mm/fsr-3level.c
+++ b/arch/arm/mm/fsr-3level.c
@@ -13,7 +13,7 @@ static struct fsr_info fsr_info[] = {
{ 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" },
- { do_sect_fault, SIGSEGV, SEGV_ACCERR, "level 2 permission fault" },
+ { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 permission fault" },
{ do_page_fault, SIGSEGV, SEGV_ACCERR, "level 3 permission fault" },
{ do_bad, SIGBUS, 0, "synchronous external abort" },
{ do_bad, SIGBUS, 0, "asynchronous external abort" },