diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2012-07-25 14:32:38 +0100 |
---|---|---|
committer | Steve Capper <steve.capper@linaro.org> | 2013-06-04 16:52:37 +0100 |
commit | 1355e2a6eb88f04d76125c057dc5fca64d4b6a9e (patch) | |
tree | af2c21aba209583f46e2424aec2e5d70b80c7965 /arch/arm/mm/fsr-3level.c | |
parent | 0b19f93351dd68cb68a1a5b2d74e13d2ddfcfc64 (diff) | |
download | blackbird-op-linux-1355e2a6eb88f04d76125c057dc5fca64d4b6a9e.tar.gz blackbird-op-linux-1355e2a6eb88f04d76125c057dc5fca64d4b6a9e.zip |
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.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 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" }, |