ARM: 8379/1: disable CONFIG_PTDUMP on !MMU
authorArnd Bergmann <arnd@arndb.de>
Tue, 26 May 2015 15:07:51 +0000 (16:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 27 May 2015 23:29:22 +0000 (00:29 +0100)
commit65ba508d215184746450467ce75685df255720b4
treebf9c520b3d39f8739149527639a836442d8cba03
parentcb1293e2f594558ccc3995acf9c9d7400b3add36
ARM: 8379/1: disable CONFIG_PTDUMP on !MMU

It's obviously pointless to dump page tables when the MMU is disabled,
and even trying to build this code results in numerous build errors
like these:

../arch/arm/mm/dump.c:56:11: error: 'L_PTE_USER' undeclared here (not in a function)
   .mask = L_PTE_USER,
           ^
../arch/arm/mm/dump.c:61:11: error: 'L_PTE_RDONLY' undeclared here (not in a function)
   .mask = L_PTE_RDONLY,
           ^
../arch/arm/mm/dump.c:66:11: error: 'L_PTE_XN' undeclared here (not in a function)
   .mask = L_PTE_XN,
           ^

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig.debug