]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm64: Fix build with CONFIG_DEBUG_PAGEALLOC=n
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 10 Feb 2016 11:17:34 +0000 (11:17 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 10 Feb 2016 11:17:34 +0000 (11:17 +0000)
commitf4d92287583b3c6ccc364eaef38daca0bfe79276
tree7b35e947b41c5c847bf3c478f5e0d01e0e9891f5
parentb423933d8c9458349ef37ff027099a05391308fb
arm64: Fix build with CONFIG_DEBUG_PAGEALLOC=n

Commit 5b09ee56b9f0 ("arm64: Add support for
ARCH_SUPPORTS_DEBUG_PAGEALLOC") introduces a call to
debug_pagealloc_enabled() which is not defined in when
CONFIG_DEBUG_PAGEALLOC=n. Add the necessary #ifdef to the arm64 code.

Note that this change will be reverted once the patch for defining
debug_pagealloc_enabled() is upstreamed.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/mmu.c