summaryrefslogtreecommitdiff
path: root/arch/xtensa/mm/mmu.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2014-01-15 23:38:58 (GMT)
committerMax Filippov <jcmvbkbc@gmail.com>2014-01-19 15:29:13 (GMT)
commit9848e49a9a9aab075d79c5d2856abb879495f97f (patch)
tree3becb81be783204dc476dab6738c8a9ea1ce5791 /arch/xtensa/mm/mmu.c
parent9ed82c6866e2ab671935a75ea454047e8bddb177 (diff)
downloadlinux-9848e49a9a9aab075d79c5d2856abb879495f97f.tar.xz
xtensa: fix warning '"CONFIG_OF" is not defined'
The warning only shows up when building MMUv3 configuration with OF support disabled. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/mm/mmu.c')
-rw-r--r--arch/xtensa/mm/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/mm/mmu.c b/arch/xtensa/mm/mmu.c
index 36ec171..861203e 100644
--- a/arch/xtensa/mm/mmu.c
+++ b/arch/xtensa/mm/mmu.c
@@ -39,7 +39,7 @@ void init_mmu(void)
set_itlbcfg_register(0);
set_dtlbcfg_register(0);
#endif
-#if XCHAL_HAVE_PTP_MMU && XCHAL_HAVE_SPANNING_WAY && CONFIG_OF
+#if XCHAL_HAVE_PTP_MMU && XCHAL_HAVE_SPANNING_WAY && defined(CONFIG_OF)
/*
* Update the IO area mapping in case xtensa_kio_paddr has changed
*/