diff options
author | Steven Capper <steve.capper@linaro.org> | 2013-06-25 08:45:51 +0100 |
---|---|---|
committer | Gary S. Robertson <gary.robertson@linaro.org> | 2013-11-06 12:25:42 -0600 |
commit | a44933efb6f77c696dabf657c6e57e5602366624 (patch) | |
tree | 90942b4867c5cea553496f32339beb6430aebeea /include/linux/rwsem.h | |
parent | 2370f2741fde8e01f9f7b88edb59b9e65934a3dc (diff) |
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>
Signed-off-by: Gary S. Robertson <gary.robertson@linaro.org>
Diffstat (limited to 'include/linux/rwsem.h')
0 files changed, 0 insertions, 0 deletions