diff options
author | Steven Capper <steve.capper@linaro.org> | 2013-06-25 08:45:51 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-06-29 11:23:23 +0100 |
commit | 809e660f438fc5a69bf57630a85bcd8112263f37 (patch) | |
tree | 944ce26fbbb89f1251184afcd35faca4a80f88b7 /virt | |
parent | 03ad0025c36f19762595ff9583d2affda9b14852 (diff) | |
download | linux-809e660f438fc5a69bf57630a85bcd8112263f37.tar.bz2 |
ARM: 7775/1: mm: Remove do_sect_fault from LPAE code
For LPAE, do_sect_fault used to be invoked as the second level access
flag handler. When transparent huge pages were introduced for LPAE,
do_page_fault was used instead.
Unfortunately, do_sect_fault remains defined but not used for LPAE code
resulting in a compile warning.
This patch surrounds do_sect_fault with #ifndef CONFIG_ARM_LPAE to fix
this warning.
Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions