[PATCH] ARM: mm: Remove do_sect_fault from LPAE code

Arnd Bergmann arnd at arndb.de
Mon Jun 24 16:58:29 EDT 2013


On Monday 24 June 2013, Steve Capper wrote:
> 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 at linaro.org>

Acked-by: Arnd Bergmann <arnd at arndb.de>



More information about the linux-arm-kernel mailing list