From: Steven Capper Date: Tue, 25 Jun 2013 07:45:51 +0000 (+0100) Subject: ARM: 7775/1: mm: Remove do_sect_fault from LPAE code X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~41^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=809e660f438fc5a69bf57630a85bcd8112263f37;p=pandora-kernel.git 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 Acked-by: Arnd Bergmann Signed-off-by: Russell King --- Reading git-diff-tree failed